aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/xml/main_preferences.xml
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2020-01-11 02:39:49 +0000
committerAlex Ning <chineseperson5@gmail.com>2020-01-11 02:39:49 +0000
commitcb9154369070fe3773c16da0d4e7b3c33b716a1f (patch)
treec6619bb95f66f605c4d7d84da0cc0fb9329de723 /app/src/main/res/xml/main_preferences.xml
parentb04ad8956dac3d5d07a389b56e1e22e70bf9ff51 (diff)
downloadinfinity-for-reddit-cb9154369070fe3773c16da0d4e7b3c33b716a1f.tar
infinity-for-reddit-cb9154369070fe3773c16da0d4e7b3c33b716a1f.tar.gz
infinity-for-reddit-cb9154369070fe3773c16da0d4e7b3c33b716a1f.tar.bz2
infinity-for-reddit-cb9154369070fe3773c16da0d4e7b3c33b716a1f.tar.lz
infinity-for-reddit-cb9154369070fe3773c16da0d4e7b3c33b716a1f.tar.xz
infinity-for-reddit-cb9154369070fe3773c16da0d4e7b3c33b716a1f.tar.zst
infinity-for-reddit-cb9154369070fe3773c16da0d4e7b3c33b716a1f.zip
Setting default post layout is now available. Add an option to hide the divider in post compact layout.
Diffstat (limited to '')
-rw-r--r--app/src/main/res/xml/main_preferences.xml18
1 files changed, 18 insertions, 0 deletions
diff --git a/app/src/main/res/xml/main_preferences.xml b/app/src/main/res/xml/main_preferences.xml
index 561222cd..395d10e1 100644
--- a/app/src/main/res/xml/main_preferences.xml
+++ b/app/src/main/res/xml/main_preferences.xml
@@ -41,6 +41,24 @@
app:key="show_elapsed_time"
app:title="@string/settings_show_elapsed_time" />
+ <ListPreference
+ app:defaultValue="0"
+ android:entries="@array/settings_default_post_layout"
+ app:entryValues="@array/settings_default_post_layout_values"
+ app:key="default_post_layout"
+ app:title="@string/settings_default_post_layout"
+ app:useSimpleSummaryProvider="true" />
+
+ <SwitchPreference
+ app:defaultValue="true"
+ app:key="show_divider_in_compact_layout"
+ app:title="@string/settings_show_divider_in_compact_layout" />
+
+ <SwitchPreference
+ app:defaultValue="true"
+ app:key="swipe_to_go_back_from_post_detail"
+ app:title="@string/swipe_to_go_back_from_post_detail" />
+
<SwitchPreference
app:defaultValue="true"
app:key="swipe_to_go_back_from_post_detail"