aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/xml
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2020-09-25 15:38:31 +0000
committerAlex Ning <chineseperson5@gmail.com>2020-09-25 15:38:31 +0000
commit428734bddeb7eea9b63d6d8e965d27beb9e7bc93 (patch)
tree42adc7bd2d7573b1ae9a0294b7b2a5148cb52792 /app/src/main/res/xml
parent878328c01c309c3cd9b79eb832c6070df4ef2afd (diff)
downloadinfinity-for-reddit-428734bddeb7eea9b63d6d8e965d27beb9e7bc93.tar
infinity-for-reddit-428734bddeb7eea9b63d6d8e965d27beb9e7bc93.tar.gz
infinity-for-reddit-428734bddeb7eea9b63d6d8e965d27beb9e7bc93.tar.bz2
infinity-for-reddit-428734bddeb7eea9b63d6d8e965d27beb9e7bc93.tar.lz
infinity-for-reddit-428734bddeb7eea9b63d6d8e965d27beb9e7bc93.tar.xz
infinity-for-reddit-428734bddeb7eea9b63d6d8e965d27beb9e7bc93.tar.zst
infinity-for-reddit-428734bddeb7eea9b63d6d8e965d27beb9e7bc93.zip
Setting swipe action threshold is available.
Diffstat (limited to 'app/src/main/res/xml')
-rw-r--r--app/src/main/res/xml/swipe_action_preferences.xml8
1 files changed, 8 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 423035a7..60a34c1b 100644
--- a/app/src/main/res/xml/swipe_action_preferences.xml
+++ b/app/src/main/res/xml/swipe_action_preferences.xml
@@ -16,4 +16,12 @@
app:key="disable_swiping_between_tabs"
app:title="@string/settings_disable_swiping_between_tabs_title" />
+ <ListPreference
+ app:defaultValue="0.3"
+ app:entries="@array/settings_swipe_action_threshold"
+ app:entryValues="@array/settings_swipe_action_threshold"
+ app:key="swipe_action_threshold"
+ app:title="@string/settings_swipe_action_threshold"
+ app:useSimpleSummaryProvider="true" />
+
</PreferenceScreen> \ No newline at end of file