diff options
Diffstat (limited to 'app/src/main/res')
3 files changed, 50 insertions, 3 deletions
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 294a075a..86ac03db 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -89,6 +89,7 @@ <string name="action_delete_logs">Delete Logs</string> <string name="action_share_rpan_link">Share RPAN Link</string> <string name="action_share_post_link">Share Post Link</string> + <string name="action_go_to_wiki">Go to Wiki</string> <string name="parse_json_response_error">Error occurred when parsing the JSON response</string> <string name="retrieve_token_error">Error Retrieving the token</string> @@ -408,6 +409,8 @@ <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_number_of_columns_in_post_feed_unfolded_portrait_title">Portrait (Unfolded)</string> + <string name="settings_number_of_columns_in_post_feed_unfolded_landscape_title">Landscape (Unfolded)</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> @@ -1043,6 +1046,7 @@ <string name="go_to_subreddit">Go to Subreddit</string> <string name="go_to_user">Go to User</string> <string name="go_to_thing_hint">Name</string> + <string name="go_to_top">Go To Top</string> <string name="random">Random</string> <string name="random_subreddit">Random Subreddit</string> <string name="random_nsfw_subreddit">Random NSFW Subreddit</string> @@ -1192,7 +1196,4 @@ <string name="app_lock_timeout_12_hours">12 hours</string> <string name="app_lock_timeout_24_hours">24 hours</string> - <string name="go_to_top">Go To Top</string> - <string name="action_go_to_wiki">Go to Wiki</string> - </resources> 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..b4a6b1fa 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="Enable folding phone 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" /> 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 82c54e21..fc973f4d 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 @@ -7,6 +7,11 @@ app:summary="@string/restart_app_see_changes" app:enabled="false" /> + <SwitchPreference + app:defaultValue="false" + app:key="enable_fold_support" + app:title="Enable folding phone support" /> + <PreferenceCategory android:title="@string/post_layout_card" /> @@ -26,6 +31,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 android:title="@string/post_layout_card_2" /> |