aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/xml-sw600dp
diff options
context:
space:
mode:
authorDocile-Alligator <chineseperson5@gmail.com>2021-09-27 11:34:41 +0000
committerGitHub <noreply@github.com>2021-09-27 11:34:41 +0000
commit191023301da6b1e5bd3b9c577977b2b96bf815d4 (patch)
treead66f20a98372fd014abba46aab7826cb83ca543 /app/src/main/res/xml-sw600dp
parent2f649425841d97256bb035343ee7139825f13e19 (diff)
parent8fdbf3761384120debcb0e5cd5404468c6d631ec (diff)
downloadinfinity-for-reddit-191023301da6b1e5bd3b9c577977b2b96bf815d4.tar
infinity-for-reddit-191023301da6b1e5bd3b9c577977b2b96bf815d4.tar.gz
infinity-for-reddit-191023301da6b1e5bd3b9c577977b2b96bf815d4.tar.bz2
infinity-for-reddit-191023301da6b1e5bd3b9c577977b2b96bf815d4.tar.lz
infinity-for-reddit-191023301da6b1e5bd3b9c577977b2b96bf815d4.tar.xz
infinity-for-reddit-191023301da6b1e5bd3b9c577977b2b96bf815d4.tar.zst
infinity-for-reddit-191023301da6b1e5bd3b9c577977b2b96bf815d4.zip
Merge pull request #479 from andrewrasch/folding-phone-support
Enable folding phone support for card view
Diffstat (limited to 'app/src/main/res/xml-sw600dp')
-rw-r--r--app/src/main/res/xml-sw600dp/number_of_columns_in_post_feed_preferences.xml23
1 files changed, 23 insertions, 0 deletions
diff --git a/app/src/main/res/xml-sw600dp/number_of_columns_in_post_feed_preferences.xml b/app/src/main/res/xml-sw600dp/number_of_columns_in_post_feed_preferences.xml
index 3114805a..db9e1e4e 100644
--- a/app/src/main/res/xml-sw600dp/number_of_columns_in_post_feed_preferences.xml
+++ b/app/src/main/res/xml-sw600dp/number_of_columns_in_post_feed_preferences.xml
@@ -5,6 +5,11 @@
app:summary="@string/restart_app_see_changes"
app:enabled="false" />
+ <SwitchPreference
+ app:defaultValue="false"
+ app:key="enable_fold_support"
+ app:title="@string/settings_enable_fold_support" />
+
<PreferenceCategory
app:title="@string/post_layout_card" />
@@ -24,6 +29,24 @@
app:title="@string/settings_number_of_columns_in_post_feed_landscape_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_portrait_unfolded"
+ app:title="@string/settings_number_of_columns_in_post_feed_unfolded_portrait_title"
+ app:useSimpleSummaryProvider="true"
+ app:dependency="enable_fold_support" />
+
+ <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_unfolded"
+ app:title="@string/settings_number_of_columns_in_post_feed_unfolded_landscape_title"
+ app:useSimpleSummaryProvider="true"
+ app:dependency="enable_fold_support"/>
+
<PreferenceCategory
app:title="@string/post_layout_card_2" />