diff options
Diffstat (limited to '')
-rw-r--r-- | app/src/main/res/xml/interface_preference.xml | 13 | ||||
-rw-r--r-- | app/src/main/res/xml/main_preferences.xml | 5 | ||||
-rw-r--r-- | app/src/main/res/xml/theme_preferences.xml | 18 |
3 files changed, 23 insertions, 13 deletions
diff --git a/app/src/main/res/xml/interface_preference.xml b/app/src/main/res/xml/interface_preference.xml index c62ecbac..7b21020e 100644 --- a/app/src/main/res/xml/interface_preference.xml +++ b/app/src/main/res/xml/interface_preference.xml @@ -2,19 +2,6 @@ <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"> - <ListPreference - app:defaultValue="2" - app:entryValues="@array/settings_theme_values" - app:key="theme" - app:icon="@drawable/ic_outline_color_lens_24px" - app:title="@string/settings_theme_title" - app:useSimpleSummaryProvider="true" /> - - <SwitchPreference - app:defaultValue="false" - app:key="amoled_dark" - app:title="@string/settings_amoled_dark_title" /> - <Preference app:title="@string/settings_font_size_title" app:icon="@drawable/ic_font_size_24dp" diff --git a/app/src/main/res/xml/main_preferences.xml b/app/src/main/res/xml/main_preferences.xml index d95e675f..3afc2f8b 100644 --- a/app/src/main/res/xml/main_preferences.xml +++ b/app/src/main/res/xml/main_preferences.xml @@ -13,6 +13,11 @@ app:fragment="ml.docilealligator.infinityforreddit.Settings.InterfacePreferenceFragment" /> <Preference + app:title="@string/settings_theme_title" + app:icon="@drawable/ic_outline_color_lens_24dp" + app:fragment="ml.docilealligator.infinityforreddit.Settings.ThemePreferenceFragment" /> + + <Preference app:icon="@drawable/ic_gesture_24dp" app:title="@string/settings_gestures_and_buttons_title" app:fragment="ml.docilealligator.infinityforreddit.Settings.GesturesAndButtonsPreferenceFragment" /> diff --git a/app/src/main/res/xml/theme_preferences.xml b/app/src/main/res/xml/theme_preferences.xml new file mode 100644 index 00000000..038485e0 --- /dev/null +++ b/app/src/main/res/xml/theme_preferences.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="utf-8"?> +<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto"> + + <ListPreference + app:defaultValue="2" + app:entryValues="@array/settings_theme_values" + app:key="theme" + app:icon="@drawable/ic_outline_color_lens_24dp" + app:title="@string/settings_theme_title" + app:useSimpleSummaryProvider="true" /> + + <SwitchPreference + app:defaultValue="false" + app:key="amoled_dark" + app:title="@string/settings_amoled_dark_title" /> + +</PreferenceScreen>
\ No newline at end of file |