diff options
author | Alex Ning <chineseperson5@gmail.com> | 2020-08-25 01:34:50 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2020-08-25 01:34:50 +0000 |
commit | 087ca72fc75708184fa7154afb69e2907538c66e (patch) | |
tree | f2293702cce7b19f155f9d434ffda054e5cc5021 /app/src/main/res/xml-sw600dp | |
parent | 462208066adb90187e07194a995c732215b82581 (diff) | |
download | infinity-for-reddit-087ca72fc75708184fa7154afb69e2907538c66e.tar infinity-for-reddit-087ca72fc75708184fa7154afb69e2907538c66e.tar.gz infinity-for-reddit-087ca72fc75708184fa7154afb69e2907538c66e.tar.bz2 infinity-for-reddit-087ca72fc75708184fa7154afb69e2907538c66e.tar.lz infinity-for-reddit-087ca72fc75708184fa7154afb69e2907538c66e.tar.xz infinity-for-reddit-087ca72fc75708184fa7154afb69e2907538c66e.tar.zst infinity-for-reddit-087ca72fc75708184fa7154afb69e2907538c66e.zip |
Add options to change the number of columns in PostFragment portrait and landscape modes. Upgrade compileSdkVersion and targetSdkVersion to 30.
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 | 18 |
1 files changed, 18 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 new file mode 100644 index 00000000..4a61e4fc --- /dev/null +++ b/app/src/main/res/xml-sw600dp/number_of_columns_in_post_feed_preferences.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="utf-8"?> +<PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto"> + <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" + 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" + app:title="@string/settings_number_of_columns_in_post_feed_landscape_title" + app:useSimpleSummaryProvider="true" /> +</PreferenceScreen>
\ No newline at end of file |