aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/xml
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2021-02-23 16:15:37 +0000
committerAlex Ning <chineseperson5@gmail.com>2021-02-23 16:15:37 +0000
commit07e2e1e746164eb39c20a1bacbb53bdfc3f8d2c8 (patch)
treeb10b88fb362bfcad2f235cab77c201b32b265a3c /app/src/main/res/xml
parent73ddafdfccc3f6bb69df13b06a2b7b68e9f6dce8 (diff)
downloadinfinity-for-reddit-07e2e1e746164eb39c20a1bacbb53bdfc3f8d2c8.tar
infinity-for-reddit-07e2e1e746164eb39c20a1bacbb53bdfc3f8d2c8.tar.gz
infinity-for-reddit-07e2e1e746164eb39c20a1bacbb53bdfc3f8d2c8.tar.bz2
infinity-for-reddit-07e2e1e746164eb39c20a1bacbb53bdfc3f8d2c8.tar.lz
infinity-for-reddit-07e2e1e746164eb39c20a1bacbb53bdfc3f8d2c8.tar.xz
infinity-for-reddit-07e2e1e746164eb39c20a1bacbb53bdfc3f8d2c8.tar.zst
infinity-for-reddit-07e2e1e746164eb39c20a1bacbb53bdfc3f8d2c8.zip
New options: hide post type and hide the number of awards. Tweak settings.
Diffstat (limited to 'app/src/main/res/xml')
-rw-r--r--app/src/main/res/xml/post_preferences.xml21
1 files changed, 17 insertions, 4 deletions
diff --git a/app/src/main/res/xml/post_preferences.xml b/app/src/main/res/xml/post_preferences.xml
index 6dfbff12..bafe60fd 100644
--- a/app/src/main/res/xml/post_preferences.xml
+++ b/app/src/main/res/xml/post_preferences.xml
@@ -10,6 +10,23 @@
app:title="@string/settings_default_post_layout"
app:useSimpleSummaryProvider="true" />
+ <Preference
+ app:title="@string/settings_number_of_columns_in_post_feed_title"
+ app:fragment="ml.docilealligator.infinityforreddit.settings.NumberOfColumnsInPostFeedPreferenceFragment" />
+
+ <SwitchPreference
+ app:defaultValue="false"
+ app:key="hide_post_type"
+ app:title="@string/settings_hide_post_type" />
+
+ <SwitchPreference
+ app:defaultValue="false"
+ app:key="hide_the_number_of_awards"
+ app:title="@string/settings_hide_the_number_of_awards" />
+
+ <PreferenceCategory
+ app:title="@string/post_layout_compact" />
+
<SwitchPreference
app:defaultValue="true"
app:key="show_divider_in_compact_layout"
@@ -30,10 +47,6 @@
app:key="post_compact_layout_toolbar_hidden_by_default"
app:title="@string/settings_post_compact_layout_toolbar_hidden_by_default_title" />
- <Preference
- app:title="@string/settings_number_of_columns_in_post_feed_title"
- app:fragment="ml.docilealligator.infinityforreddit.settings.NumberOfColumnsInPostFeedPreferenceFragment" />
-
<PreferenceCategory
app:title="@string/post_layout_gallery" />