aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/xml
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2021-07-20 12:13:11 +0000
committerAlex Ning <chineseperson5@gmail.com>2021-07-20 12:13:11 +0000
commit568aa7a78f37f7dd4c4c027e9701467887da799f (patch)
tree297c65c99896b15ab0a02b88ac577c23976de379 /app/src/main/res/xml
parentf68e4aad09427570ea0ceb2623576be125cd767a (diff)
downloadinfinity-for-reddit-568aa7a78f37f7dd4c4c027e9701467887da799f.tar
infinity-for-reddit-568aa7a78f37f7dd4c4c027e9701467887da799f.tar.gz
infinity-for-reddit-568aa7a78f37f7dd4c4c027e9701467887da799f.tar.bz2
infinity-for-reddit-568aa7a78f37f7dd4c4c027e9701467887da799f.tar.lz
infinity-for-reddit-568aa7a78f37f7dd4c4c027e9701467887da799f.tar.xz
infinity-for-reddit-568aa7a78f37f7dd4c4c027e9701467887da799f.tar.zst
infinity-for-reddit-568aa7a78f37f7dd4c4c027e9701467887da799f.zip
New option: Default Link Post Layout.
Diffstat (limited to 'app/src/main/res/xml')
-rw-r--r--app/src/main/res/xml/post_preferences.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/src/main/res/xml/post_preferences.xml b/app/src/main/res/xml/post_preferences.xml
index 7ea526a5..55f9f5c2 100644
--- a/app/src/main/res/xml/post_preferences.xml
+++ b/app/src/main/res/xml/post_preferences.xml
@@ -10,6 +10,14 @@
app:title="@string/settings_default_post_layout"
app:useSimpleSummaryProvider="true" />
+ <ListPreference
+ app:defaultValue="-1"
+ android:entries="@array/settings_default_link_post_layout"
+ app:entryValues="@array/settings_default_link_post_layout_values"
+ app:key="default_link_post_layout"
+ app:title="@string/settings_default_link_post_layout"
+ app:useSimpleSummaryProvider="true" />
+
<Preference
app:title="@string/settings_number_of_columns_in_post_feed_title"
app:fragment="ml.docilealligator.infinityforreddit.settings.NumberOfColumnsInPostFeedPreferenceFragment" />