diff options
Diffstat (limited to 'app/src/main/res/xml')
-rw-r--r-- | app/src/main/res/xml/interface_preferences.xml | 4 | ||||
-rw-r--r-- | app/src/main/res/xml/navigation_drawer_preferences.xml | 34 |
2 files changed, 38 insertions, 0 deletions
diff --git a/app/src/main/res/xml/interface_preferences.xml b/app/src/main/res/xml/interface_preferences.xml index e40f5b25..1d45da42 100644 --- a/app/src/main/res/xml/interface_preferences.xml +++ b/app/src/main/res/xml/interface_preferences.xml @@ -14,6 +14,10 @@ app:isPreferenceVisible="false" /> <Preference + app:title="@string/settings_navigation_drawer_title" + app:fragment="ml.docilealligator.infinityforreddit.settings.NavigationDrawerPreferenceFragment" /> + + <Preference app:title="@string/settings_customize_tabs_in_main_page_title" app:summary="@string/only_for_logged_in_user" app:fragment="ml.docilealligator.infinityforreddit.settings.CustomizeMainPageTabsFragment" /> diff --git a/app/src/main/res/xml/navigation_drawer_preferences.xml b/app/src/main/res/xml/navigation_drawer_preferences.xml new file mode 100644 index 00000000..4fa0d064 --- /dev/null +++ b/app/src/main/res/xml/navigation_drawer_preferences.xml @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="utf-8"?> +<PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto"> + + <Preference + app:icon="@drawable/ic_info_preference_24dp" + app:summary="@string/restart_app_see_changes" + app:enabled="false" /> + + <SwitchPreference + app:defaultValue="false" + app:key="collapse_account_section" + app:title="@string/settings_collapse_account_section_title" /> + + <SwitchPreference + app:defaultValue="false" + app:key="collapse_post_section" + app:title="@string/settings_collapse_post_section_title" /> + + <SwitchPreference + app:defaultValue="false" + app:key="collapse_preferences_section" + app:title="@string/settings_collapse_preferences_section_title" /> + + <SwitchPreference + app:defaultValue="false" + app:key="collapse_favorite_subreddits_section" + app:title="@string/settings_collapse_favorite_subreddits_section_title" /> + + <SwitchPreference + app:defaultValue="false" + app:key="collapse_subscribed_subreddits_section" + app:title="@string/settings_collapse_subscribed_subreddits_section_title" /> + +</PreferenceScreen>
\ No newline at end of file |