aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/xml
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2020-11-09 09:01:53 +0000
committerAlex Ning <chineseperson5@gmail.com>2020-11-09 09:01:53 +0000
commit4de6887423f7ba499873b8e2a6984b1efd701cd2 (patch)
tree5547b01cd740d7b00458998382968049e4ef1e82 /app/src/main/res/xml
parentd37a386291c89e3740a762dbc99fe621fb8faac3 (diff)
downloadinfinity-for-reddit-4de6887423f7ba499873b8e2a6984b1efd701cd2.tar
infinity-for-reddit-4de6887423f7ba499873b8e2a6984b1efd701cd2.tar.gz
infinity-for-reddit-4de6887423f7ba499873b8e2a6984b1efd701cd2.tar.bz2
infinity-for-reddit-4de6887423f7ba499873b8e2a6984b1efd701cd2.tar.lz
infinity-for-reddit-4de6887423f7ba499873b8e2a6984b1efd701cd2.tar.xz
infinity-for-reddit-4de6887423f7ba499873b8e2a6984b1efd701cd2.tar.zst
infinity-for-reddit-4de6887423f7ba499873b8e2a6984b1efd701cd2.zip
Selecting swipe actions is avavilable.
Diffstat (limited to 'app/src/main/res/xml')
-rw-r--r--app/src/main/res/xml/swipe_action_preferences.xml16
1 files changed, 16 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 60a34c1b..36326765 100644
--- a/app/src/main/res/xml/swipe_action_preferences.xml
+++ b/app/src/main/res/xml/swipe_action_preferences.xml
@@ -6,6 +6,22 @@
app:key="enable_swipe_action"
app:title="@string/settings_enable_swipe_action_title" />
+ <ListPreference
+ app:defaultValue="0"
+ app:entries="@array/settings_swipe_actions"
+ app:entryValues="@array/settings_swipe_actions_values"
+ app:key="swipe_left_action"
+ app:title="@string/settings_swipe_action_swipe_left_title"
+ app:useSimpleSummaryProvider="true" />
+
+ <ListPreference
+ app:defaultValue="1"
+ app:entries="@array/settings_swipe_actions"
+ app:entryValues="@array/settings_swipe_actions_values"
+ app:key="swipe_right_action"
+ app:title="@string/settings_swipe_action_swipe_right_title"
+ app:useSimpleSummaryProvider="true" />
+
<SwitchPreference
app:defaultValue="true"
app:key="vibrate_when_action_triggered"