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/advanced_preferences.xml21
-rw-r--r--app/src/main/res/xml/main_preferences.xml4
2 files changed, 25 insertions, 0 deletions
diff --git a/app/src/main/res/xml/advanced_preferences.xml b/app/src/main/res/xml/advanced_preferences.xml
new file mode 100644
index 00000000..f16e572d
--- /dev/null
+++ b/app/src/main/res/xml/advanced_preferences.xml
@@ -0,0 +1,21 @@
+<?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">
+
+ <Preference
+ app:key="delete_all_subreddits_data_in_database"
+ app:title="@string/settings_delete_all_subreddits_data_in_database_title" />
+
+ <Preference
+ app:key="delete_all_users_data_in_database"
+ app:title="@string/settings_delete_all_users_data_in_database_title" />
+
+ <Preference
+ app:key="delete_all_sort_type_data_in_database"
+ app:title="@string/settings_delete_all_sort_type_data_in_database_title" />
+
+ <Preference
+ app:key="delete_all_post_layout_data_in_database"
+ app:title="@string/settings_delete_all_post_layout_data_in_database_title" />
+
+</PreferenceScreen> \ No newline at end of file
diff --git a/app/src/main/res/xml/main_preferences.xml b/app/src/main/res/xml/main_preferences.xml
index 3afc2f8b..8622a87f 100644
--- a/app/src/main/res/xml/main_preferences.xml
+++ b/app/src/main/res/xml/main_preferences.xml
@@ -67,6 +67,10 @@
app:title="@string/settings_blur_spoiler_title" />
<Preference
+ app:title="@string/settings_advanced_master_title"
+ app:fragment="ml.docilealligator.infinityforreddit.Settings.AdvancedPreferenceFragment" />
+
+ <Preference
app:title="@string/settings_about_master_title"
app:fragment="ml.docilealligator.infinityforreddit.Settings.AboutPreferenceFragment" />