diff options
author | Alex Ning <chineseperson5@gmail.com> | 2021-03-15 12:06:13 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2021-03-15 12:06:13 +0000 |
commit | cf370d215c14a6a96edd2cacf7264d07729034d3 (patch) | |
tree | d76dddc60cf2ee4d5dcc70185de13f13f4067713 /app/src/main/res/xml | |
parent | 57fd9edaff2beae6666920d4d17500908d655540 (diff) | |
download | infinity-for-reddit-cf370d215c14a6a96edd2cacf7264d07729034d3.tar infinity-for-reddit-cf370d215c14a6a96edd2cacf7264d07729034d3.tar.gz infinity-for-reddit-cf370d215c14a6a96edd2cacf7264d07729034d3.tar.bz2 infinity-for-reddit-cf370d215c14a6a96edd2cacf7264d07729034d3.tar.lz infinity-for-reddit-cf370d215c14a6a96edd2cacf7264d07729034d3.tar.xz infinity-for-reddit-cf370d215c14a6a96edd2cacf7264d07729034d3.tar.zst infinity-for-reddit-cf370d215c14a6a96edd2cacf7264d07729034d3.zip |
New option: Default Search Result Tab. Move Show Avatar on the Left in the Navigation Drawer to Settings->Interface->Navigation Drawer.
Diffstat (limited to '')
-rw-r--r-- | app/src/main/res/xml/interface_preferences.xml | 13 | ||||
-rw-r--r-- | app/src/main/res/xml/navigation_drawer_preferences.xml | 5 |
2 files changed, 13 insertions, 5 deletions
diff --git a/app/src/main/res/xml/interface_preferences.xml b/app/src/main/res/xml/interface_preferences.xml index 1d45da42..6387a850 100644 --- a/app/src/main/res/xml/interface_preferences.xml +++ b/app/src/main/res/xml/interface_preferences.xml @@ -33,15 +33,18 @@ app:title="@string/settings_enable_bottom_app_bar_title" app:summary="@string/settings_enable_bottom_app_bar_summary" /> - <SwitchPreference - app:defaultValue="false" - app:key="show_avatar_on_the_right_in_the_navigation_drawer" - app:title="@string/settings_show_avatar_on_the_right_in_the_navigation_drawer" /> - <Preference app:title="@string/settings_time_format_title" app:fragment="ml.docilealligator.infinityforreddit.settings.TimeFormatPreferenceFragment" /> + <ListPreference + app:defaultValue="0" + app:entries="@array/settings_default_search_result_tab" + app:entryValues="@array/settings_default_search_result_tab_values" + app:key="default_search_result_tab" + app:title="@string/settings_default_search_result_tab" + app:useSimpleSummaryProvider="true" /> + <SwitchPreference app:defaultValue="false" app:key="hide_subreddit_description" diff --git a/app/src/main/res/xml/navigation_drawer_preferences.xml b/app/src/main/res/xml/navigation_drawer_preferences.xml index 12873fa3..3fb31b88 100644 --- a/app/src/main/res/xml/navigation_drawer_preferences.xml +++ b/app/src/main/res/xml/navigation_drawer_preferences.xml @@ -8,6 +8,11 @@ <SwitchPreference app:defaultValue="false" + app:key="show_avatar_on_the_right" + app:title="@string/settings_show_avatar_on_the_right" /> + + <SwitchPreference + app:defaultValue="false" app:key="collapse_account_section" app:title="@string/settings_collapse_account_section_title" /> |