From 84d4679aa9dbed4bca22f23d39cb397727a58722 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Sun, 29 Mar 2020 16:28:50 +0800 Subject: Finished adding advanced preferences. --- .../main/res/drawable-night/ic_info_preference_24dp.xml | 9 +++++++++ app/src/main/res/drawable/ic_info_preference_24dp.xml | 9 +++++++++ app/src/main/res/values/strings.xml | 14 +++++++++++--- app/src/main/res/xml/advanced_preferences.xml | 13 +++++++++++++ app/src/main/res/xml/theme_preferences.xml | 3 ++- 5 files changed, 44 insertions(+), 4 deletions(-) create mode 100644 app/src/main/res/drawable-night/ic_info_preference_24dp.xml create mode 100644 app/src/main/res/drawable/ic_info_preference_24dp.xml (limited to 'app/src/main/res') 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 @@ + + + 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 @@ + + + diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index a05fb242..c976932b 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -365,12 +365,15 @@ Dark Theme Amoled Theme Manage Themes - Custom themes cannot be applied to settings page (except toolbar, status bar and navigation bar). + Custom themes cannot be applied to settings page (except toolbar, status bar and navigation bar). Advanced Delete All Subreddits in Database Delete All Users in Database - Delete All Sort Type in Database - Delete All Post Layout Data in Database + Delete All Sort Types in Database + Delete All Post Layouts in Database + Delete All Themes in Database + Reset All Settings + Clean the database and shared preferences Cannot get the link @@ -645,5 +648,10 @@ Delete all subreddits successful Delete all users successful + Delete all sort types successful + Delete all post layouts successful + Delete all themes successful + Reset all settings successful + diff --git a/app/src/main/res/xml/advanced_preferences.xml b/app/src/main/res/xml/advanced_preferences.xml index f16e572d..e475af51 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" /> + + + + + + \ 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" /> \ No newline at end of file -- cgit v1.2.3