aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/xml
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2021-03-08 16:02:26 +0000
committerAlex Ning <chineseperson5@gmail.com>2021-03-08 16:02:26 +0000
commit6bdf38b99662961d3a5faab8b01c8abe1e16b607 (patch)
treee00bee20b20d169946bbf143945da87d379f25e6 /app/src/main/res/xml
parent916143fd4627bdfdbc3c379e98989196ba1adeb6 (diff)
downloadinfinity-for-reddit-6bdf38b99662961d3a5faab8b01c8abe1e16b607.tar
infinity-for-reddit-6bdf38b99662961d3a5faab8b01c8abe1e16b607.tar.gz
infinity-for-reddit-6bdf38b99662961d3a5faab8b01c8abe1e16b607.tar.bz2
infinity-for-reddit-6bdf38b99662961d3a5faab8b01c8abe1e16b607.tar.lz
infinity-for-reddit-6bdf38b99662961d3a5faab8b01c8abe1e16b607.tar.xz
infinity-for-reddit-6bdf38b99662961d3a5faab8b01c8abe1e16b607.tar.zst
infinity-for-reddit-6bdf38b99662961d3a5faab8b01c8abe1e16b607.zip
The number of columns in card layout 2 is available.
Diffstat (limited to 'app/src/main/res/xml')
-rw-r--r--app/src/main/res/xml/number_of_columns_in_post_feed_preferences.xml19
1 files changed, 19 insertions, 0 deletions
diff --git a/app/src/main/res/xml/number_of_columns_in_post_feed_preferences.xml b/app/src/main/res/xml/number_of_columns_in_post_feed_preferences.xml
index 5e91acff..82c54e21 100644
--- a/app/src/main/res/xml/number_of_columns_in_post_feed_preferences.xml
+++ b/app/src/main/res/xml/number_of_columns_in_post_feed_preferences.xml
@@ -27,6 +27,25 @@
app:useSimpleSummaryProvider="true" />
<PreferenceCategory
+ android:title="@string/post_layout_card_2" />
+
+ <ListPreference
+ app:defaultValue="1"
+ app:entries="@array/settings_number_of_columns_in_post_feed"
+ app:entryValues="@array/settings_number_of_columns_in_post_feed"
+ app:key="number_of_columns_in_post_feed_portrait_card_layout_2"
+ app:title="@string/settings_number_of_columns_in_post_feed_portrait_title"
+ app:useSimpleSummaryProvider="true" />
+
+ <ListPreference
+ app:defaultValue="2"
+ app:entries="@array/settings_number_of_columns_in_post_feed"
+ app:entryValues="@array/settings_number_of_columns_in_post_feed"
+ app:key="number_of_columns_in_post_feed_landscape_card_layout_2"
+ app:title="@string/settings_number_of_columns_in_post_feed_landscape_title"
+ app:useSimpleSummaryProvider="true" />
+
+ <PreferenceCategory
android:title="@string/post_layout_compact" />
<ListPreference