aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/xml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--app/src/main/res/xml/main_preferences.xml23
-rw-r--r--app/src/main/res/xml/miscellaneous_preferences.xml28
2 files changed, 33 insertions, 18 deletions
diff --git a/app/src/main/res/xml/main_preferences.xml b/app/src/main/res/xml/main_preferences.xml
index 88756af0..8ada3e6c 100644
--- a/app/src/main/res/xml/main_preferences.xml
+++ b/app/src/main/res/xml/main_preferences.xml
@@ -53,30 +53,17 @@
app:icon="@drawable/ic_data_saving_mode_black_24dp"
app:fragment="ml.docilealligator.infinityforreddit.Settings.DataSavingModePreferenceFragment" />
- <SwitchPreference
- app:defaultValue="false"
- app:key="save_front_page_scrolled_position"
- app:title="@string/settings_save_front_page_scrolled_position_title"
- app:summary="@string/settings_save_front_page_scrolled_position_summary" />
-
- <SwitchPreference
- app:defaultValue="false"
- app:icon="@drawable/ic_link"
- app:key="open_link_in_app"
- app:title="@string/settings_open_link_in_app_title" />
-
- <SwitchPreference
- app:defaultValue="false"
- app:key="confirm_to_exit"
- app:icon="@drawable/ic_exit_24dp"
- app:title="@string/settings_confirm_to_exit" />
-
<Preference
app:icon="@drawable/ic_nsfw_on_24dp"
app:title="@string/settings_nsfw_and_spoiler_title"
app:fragment="ml.docilealligator.infinityforreddit.Settings.NsfwAndBlurringFragment"/>
<Preference
+ app:icon="@drawable/ic_miscellaneous_24dp"
+ app:title="@string/settings_miscellaneous_title"
+ app:fragment="ml.docilealligator.infinityforreddit.Settings.MiscellaneousPreferenceFragment"/>
+
+ <Preference
app:title="@string/settings_advanced_master_title"
app:fragment="ml.docilealligator.infinityforreddit.Settings.AdvancedPreferenceFragment" />
diff --git a/app/src/main/res/xml/miscellaneous_preferences.xml b/app/src/main/res/xml/miscellaneous_preferences.xml
new file mode 100644
index 00000000..f4274a5a
--- /dev/null
+++ b/app/src/main/res/xml/miscellaneous_preferences.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto">
+
+ <SwitchPreference
+ app:defaultValue="false"
+ app:key="save_front_page_scrolled_position"
+ app:title="@string/settings_save_front_page_scrolled_position_title"
+ app:summary="@string/settings_save_front_page_scrolled_position_summary" />
+
+ <SwitchPreference
+ app:defaultValue="false"
+ app:icon="@drawable/ic_link"
+ app:key="open_link_in_app"
+ app:title="@string/settings_open_link_in_app_title" />
+
+ <SwitchPreference
+ app:defaultValue="false"
+ app:key="confirm_to_exit"
+ app:icon="@drawable/ic_exit_24dp"
+ app:title="@string/settings_confirm_to_exit" />
+
+ <SwitchPreference
+ app:defaultValue="false"
+ app:key="respect_subreddit_recommended_comment_sort_type"
+ app:title="@string/settings_respect_subreddit_recommended_comment_sort_type_title"
+ app:summary="@string/settings_respect_subreddit_recommended_comment_sort_type_summary" />
+
+</PreferenceScreen> \ No newline at end of file