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/values | |
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/values')
-rw-r--r-- | app/src/main/res/values/arrays.xml | 5 | ||||
-rw-r--r-- | app/src/main/res/values/strings.xml | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/app/src/main/res/values/arrays.xml b/app/src/main/res/values/arrays.xml index e3ad548e..38edbb2a 100644 --- a/app/src/main/res/values/arrays.xml +++ b/app/src/main/res/values/arrays.xml @@ -228,4 +228,9 @@ <item>yyyy.M.d HH:mm</item> <item>yyyy.M.d hh:mm a</item> </string-array> + + <string-array name="settings_number_of_columns_in_post_feed"> + <item>1</item> + <item>2</item> + </string-array> </resources>
\ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index b909ab32..8105a92f 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -387,6 +387,9 @@ <string name="settings_default_post_layout">Default Post Layout</string> <string name="settings_show_divider_in_compact_layout">Show Divider in Compact Layout</string> <string name="settings_show_thumbnail_on_the_left_in_compact_layout">Show Thumbnail on the Left in Compact Layout</string> + <string name="settings_number_of_columns_in_post_feed_title">The Number of Columns in Post Feed</string> + <string name="settings_number_of_columns_in_post_feed_portrait_title">Portrait</string> + <string name="settings_number_of_columns_in_post_feed_landscape_title">Landscape</string> <string name="settings_swap_tap_and_long_title">Swap Tap and Long Press in Comments</string> <string name="settings_swipe_to_go_back_title">Swipe Right to Go Back</string> <string name="settings_swipe_to_go_back_summary">Does Not Apply to All Pages</string> |