aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/xml
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res/xml')
-rw-r--r--app/src/main/res/xml/interface_preferences.xml13
-rw-r--r--app/src/main/res/xml/navigation_drawer_preferences.xml5
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" />