diff options
author | Alex Ning <chineseperson5@gmail.com> | 2021-03-08 16:02:26 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2021-03-08 16:02:26 +0000 |
commit | 6bdf38b99662961d3a5faab8b01c8abe1e16b607 (patch) | |
tree | e00bee20b20d169946bbf143945da87d379f25e6 /app/src/main/res/xml-sw600dp | |
parent | 916143fd4627bdfdbc3c379e98989196ba1adeb6 (diff) | |
download | infinity-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-sw600dp')
-rw-r--r-- | app/src/main/res/xml-sw600dp/number_of_columns_in_post_feed_preferences.xml | 67 |
1 files changed, 66 insertions, 1 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 4a61e4fc..3114805a 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 @@ -1,7 +1,15 @@ <?xml version="1.0" encoding="utf-8"?> <PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto"> + <Preference + app:icon="@drawable/ic_info_preference_24dp" + app:summary="@string/restart_app_see_changes" + app:enabled="false" /> + + <PreferenceCategory + app:title="@string/post_layout_card" /> + <ListPreference - app:defaultValue="2" + 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" @@ -15,4 +23,61 @@ app:key="number_of_columns_in_post_feed_landscape" app:title="@string/settings_number_of_columns_in_post_feed_landscape_title" app:useSimpleSummaryProvider="true" /> + + <PreferenceCategory + app: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 + app:title="@string/post_layout_compact" /> + + <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_compact_layout" + 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_compact_layout" + app:title="@string/settings_number_of_columns_in_post_feed_landscape_title" + app:useSimpleSummaryProvider="true" /> + + <PreferenceCategory + app:title="@string/post_layout_gallery" /> + + <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_gallery_layout" + 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_gallery_layout" + app:title="@string/settings_number_of_columns_in_post_feed_landscape_title" + app:useSimpleSummaryProvider="true" /> </PreferenceScreen>
\ No newline at end of file |