aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/drawable-night/ic_info_preference_24dp.xml9
-rw-r--r--app/src/main/res/drawable/ic_info_preference_24dp.xml9
-rw-r--r--app/src/main/res/values/strings.xml14
-rw-r--r--app/src/main/res/xml/advanced_preferences.xml13
-rw-r--r--app/src/main/res/xml/theme_preferences.xml3
5 files changed, 44 insertions, 4 deletions
diff --git a/app/src/main/res/drawable-night/ic_info_preference_24dp.xml b/app/src/main/res/drawable-night/ic_info_preference_24dp.xml
new file mode 100644
index 00000000..10088cff
--- /dev/null
+++ b/app/src/main/res/drawable-night/ic_info_preference_24dp.xml
@@ -0,0 +1,9 @@
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:width="24dp"
+ android:height="24dp"
+ android:viewportWidth="24"
+ android:viewportHeight="24">
+ <path
+ android:pathData="M11,7h2v2h-2zM11,11h2v6h-2zM12,2C6.48,2 2,6.48 2,12s4.48,10 10,10 10,-4.48 10,-10S17.52,2 12,2zM12,20c-4.41,0 -8,-3.59 -8,-8s3.59,-8 8,-8 8,3.59 8,8 -3.59,8 -8,8z"
+ android:fillColor="#4DFFFFFF"/>
+</vector>
diff --git a/app/src/main/res/drawable/ic_info_preference_24dp.xml b/app/src/main/res/drawable/ic_info_preference_24dp.xml
new file mode 100644
index 00000000..88855dce
--- /dev/null
+++ b/app/src/main/res/drawable/ic_info_preference_24dp.xml
@@ -0,0 +1,9 @@
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:width="24dp"
+ android:height="24dp"
+ android:viewportWidth="24"
+ android:viewportHeight="24">
+ <path
+ android:pathData="M11,7h2v2h-2zM11,11h2v6h-2zM12,2C6.48,2 2,6.48 2,12s4.48,10 10,10 10,-4.48 10,-10S17.52,2 12,2zM12,20c-4.41,0 -8,-3.59 -8,-8s3.59,-8 8,-8 8,3.59 8,8 -3.59,8 -8,8z"
+ android:fillColor="#42000000"/>
+</vector>
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 67519d2f..7e024f40 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -367,12 +367,15 @@
<string name="settings_customize_dark_theme_title">Dark Theme</string>
<string name="settings_customize_amoled_theme_title">Amoled Theme</string>
<string name="settings_manage_themes_title">Manage Themes</string>
- <string name="settings_custom_theme_cannot_apply_to_settings_page_title">Custom themes cannot be applied to settings page (except toolbar, status bar and navigation bar).</string>
+ <string name="settings_custom_theme_cannot_apply_to_settings_page_summary">Custom themes cannot be applied to settings page (except toolbar, status bar and navigation bar).</string>
<string name="settings_advanced_master_title">Advanced</string>
<string name="settings_delete_all_subreddits_data_in_database_title">Delete All Subreddits in Database</string>
<string name="settings_delete_all_users_data_in_database_title">Delete All Users in Database</string>
- <string name="settings_delete_all_sort_type_data_in_database_title">Delete All Sort Type in Database</string>
- <string name="settings_delete_all_post_layout_data_in_database_title">Delete All Post Layout Data in Database</string>
+ <string name="settings_delete_all_sort_type_data_in_database_title">Delete All Sort Types in Database</string>
+ <string name="settings_delete_all_post_layout_data_in_database_title">Delete All Post Layouts in Database</string>
+ <string name="settings_delete_all_themes_in_database_title">Delete All Themes in Database</string>
+ <string name="settings_reset_all_settings_title">Reset All Settings</string>
+ <string name="settings_advanced_settings_summary">Clean the database and shared preferences</string>
<string name="no_link_available">Cannot get the link</string>
@@ -647,5 +650,10 @@
<string name="delete_all_subreddits_success">Delete all subreddits successful</string>
<string name="delete_all_users_success">Delete all users successful</string>
+ <string name="delete_all_sort_types_success">Delete all sort types successful</string>
+ <string name="delete_all_post_layouts_success">Delete all post layouts successful</string>
+ <string name="delete_all_themes_success">Delete all themes successful</string>
+ <string name="reset_all_settings_success">Reset all settings successful</string>
+
</resources>
diff --git a/app/src/main/res/xml/advanced_preferences.xml b/app/src/main/res/xml/advanced_preferences.xml
index f16e572d..432623d3 100644
--- a/app/src/main/res/xml/advanced_preferences.xml
+++ b/app/src/main/res/xml/advanced_preferences.xml
@@ -18,4 +18,17 @@
app:key="delete_all_post_layout_data_in_database"
app:title="@string/settings_delete_all_post_layout_data_in_database_title" />
+ <Preference
+ app:key="delete_all_themes_in_database"
+ app:title="@string/settings_delete_all_themes_in_database_title" />
+
+ <Preference
+ app:key="reset_all_settings"
+ app:title="@string/settings_reset_all_settings_title" />
+
+ <Preference
+ android:icon="@drawable/ic_info_preference_24dp"
+ app:summary="@string/settings_advanced_settings_summary"
+ app:enabled="false" />
+
</PreferenceScreen> \ No newline at end of file
diff --git a/app/src/main/res/xml/theme_preferences.xml b/app/src/main/res/xml/theme_preferences.xml
index f40ef592..a520fc49 100644
--- a/app/src/main/res/xml/theme_preferences.xml
+++ b/app/src/main/res/xml/theme_preferences.xml
@@ -42,7 +42,8 @@
app:title="@string/settings_manage_themes_title" />
<Preference
- app:summary="@string/settings_custom_theme_cannot_apply_to_settings_page_title"
+ android:icon="@drawable/ic_info_preference_24dp"
+ app:summary="@string/settings_custom_theme_cannot_apply_to_settings_page_summary"
app:enabled="false" />
</PreferenceScreen> \ No newline at end of file