diff options
author | Alex Ning <chineseperson5@gmail.com> | 2020-09-15 15:03:08 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2020-09-15 15:03:08 +0000 |
commit | 7c23be5d2fc583e1aa1aa251287fee4c35f2c751 (patch) | |
tree | 01b569a7ac2bb77ef524fe886e87d70a05004ed1 /app/src/main/res/xml | |
parent | 8ce4a0ef6bcabc66f70164e52080fe7d0f9aee0c (diff) | |
download | infinity-for-reddit-7c23be5d2fc583e1aa1aa251287fee4c35f2c751.tar infinity-for-reddit-7c23be5d2fc583e1aa1aa251287fee4c35f2c751.tar.gz infinity-for-reddit-7c23be5d2fc583e1aa1aa251287fee4c35f2c751.tar.bz2 infinity-for-reddit-7c23be5d2fc583e1aa1aa251287fee4c35f2c751.tar.lz infinity-for-reddit-7c23be5d2fc583e1aa1aa251287fee4c35f2c751.tar.xz infinity-for-reddit-7c23be5d2fc583e1aa1aa251287fee4c35f2c751.tar.zst infinity-for-reddit-7c23be5d2fc583e1aa1aa251287fee4c35f2c751.zip |
Add an option to disable swiping between tabs in MainActivity.
Diffstat (limited to '')
-rw-r--r-- | app/src/main/res/xml/swipe_action_preferences.xml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/src/main/res/xml/swipe_action_preferences.xml b/app/src/main/res/xml/swipe_action_preferences.xml index daba347b..8cf502b8 100644 --- a/app/src/main/res/xml/swipe_action_preferences.xml +++ b/app/src/main/res/xml/swipe_action_preferences.xml @@ -6,4 +6,9 @@ app:key="vibrate_when_action_triggered" app:title="@string/settings_vibrate_when_action_triggered_title" /> + <SwitchPreference + app:defaultValue="false" + app:key="disable_swiping_between_tabs" + app:title="@string/settings_disable_swiping_between_tabs_title" /> + </PreferenceScreen>
\ No newline at end of file |