aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/xml/gestures_and_buttons_preferences.xml
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2021-02-17 13:44:59 +0000
committerAlex Ning <chineseperson5@gmail.com>2021-02-17 13:44:59 +0000
commit52d6691ae7ea7d9d5a19bede87b913f33e0645a3 (patch)
treeda85b2f9454e28a8629cafa9552cd6cb9f4334ee /app/src/main/res/xml/gestures_and_buttons_preferences.xml
parent9b9a1aa308659fc2f031f468002eeff15323b9d6 (diff)
downloadinfinity-for-reddit-52d6691ae7ea7d9d5a19bede87b913f33e0645a3.tar
infinity-for-reddit-52d6691ae7ea7d9d5a19bede87b913f33e0645a3.tar.gz
infinity-for-reddit-52d6691ae7ea7d9d5a19bede87b913f33e0645a3.tar.bz2
infinity-for-reddit-52d6691ae7ea7d9d5a19bede87b913f33e0645a3.tar.lz
infinity-for-reddit-52d6691ae7ea7d9d5a19bede87b913f33e0645a3.tar.xz
infinity-for-reddit-52d6691ae7ea7d9d5a19bede87b913f33e0645a3.tar.zst
infinity-for-reddit-52d6691ae7ea7d9d5a19bede87b913f33e0645a3.zip
Customize the number of columns in Post Feed for every post layout.
Diffstat (limited to 'app/src/main/res/xml/gestures_and_buttons_preferences.xml')
-rw-r--r--app/src/main/res/xml/gestures_and_buttons_preferences.xml51
1 files changed, 51 insertions, 0 deletions
diff --git a/app/src/main/res/xml/gestures_and_buttons_preferences.xml b/app/src/main/res/xml/gestures_and_buttons_preferences.xml
new file mode 100644
index 00000000..02a37524
--- /dev/null
+++ b/app/src/main/res/xml/gestures_and_buttons_preferences.xml
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="utf-8"?>
+<PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto">
+
+ <SwitchPreference
+ app:defaultValue="true"
+ app:key="swipe_to_go_back_from_post_detail"
+ app:title="@string/settings_swipe_to_go_back_title"
+ app:summary="@string/settings_swipe_to_go_back_summary" />
+
+ <SwitchPreference
+ app:defaultValue="false"
+ app:key="lock_jump_to_next_top_level_comment_button"
+ app:title="@string/settings_lock_jump_to_next_top_level_comment_button_title" />
+
+ <SwitchPreference
+ app:defaultValue="false"
+ app:key="swipe_up_to_hide_jump_to_next_top_level_comments_button"
+ app:title="@string/settings_swipe_up_to_hide_jump_to_next_top_level_comment_button_title"
+ app:isPreferenceVisible="false" />
+
+ <SwitchPreference
+ app:defaultValue="false"
+ app:key="lock_bottom_app_bar"
+ app:title="@string/settings_lock_bottom_app_bar_title"
+ app:isPreferenceVisible="false" />
+
+ <SwitchPreference
+ app:defaultValue="false"
+ app:key="volume_keys_navigate_comments"
+ app:title="@string/settings_volume_keys_navigate_comments_title" />
+
+ <SwitchPreference
+ app:defaultValue="false"
+ app:key="volume_keys_navigate_posts"
+ app:title="@string/settings_volume_keys_navigate_posts_title" />
+
+ <SwitchPreference
+ app:defaultValue="false"
+ app:key="swap_tap_and_long_in_comments"
+ app:title="@string/settings_swap_tap_and_long_title" />
+
+ <SwitchPreference
+ app:defaultValue="true"
+ app:key="pull_to_refresh"
+ app:title="@string/settings_pull_to_refresh_title" />
+
+ <Preference
+ app:title="@string/settings_swipe_action_title"
+ app:fragment="ml.docilealligator.infinityforreddit.settings.SwipeActionPreferenceFragment" />
+
+</PreferenceScreen> \ No newline at end of file