diff options
author | Alex Ning <chineseperson5@gmail.com> | 2020-03-29 08:28:50 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2020-03-29 08:28:50 +0000 |
commit | 84d4679aa9dbed4bca22f23d39cb397727a58722 (patch) | |
tree | f53cf8457cf88442eddce3f338f083ca5ea1d033 /app/src/main/res/xml | |
parent | ca599fede57e07a33eb90b2354bcac526fb0968b (diff) | |
download | infinity-for-reddit-84d4679aa9dbed4bca22f23d39cb397727a58722.tar infinity-for-reddit-84d4679aa9dbed4bca22f23d39cb397727a58722.tar.gz infinity-for-reddit-84d4679aa9dbed4bca22f23d39cb397727a58722.tar.bz2 infinity-for-reddit-84d4679aa9dbed4bca22f23d39cb397727a58722.tar.lz infinity-for-reddit-84d4679aa9dbed4bca22f23d39cb397727a58722.tar.xz infinity-for-reddit-84d4679aa9dbed4bca22f23d39cb397727a58722.tar.zst infinity-for-reddit-84d4679aa9dbed4bca22f23d39cb397727a58722.zip |
Finished adding advanced preferences.
Diffstat (limited to '')
-rw-r--r-- | app/src/main/res/xml/advanced_preferences.xml | 13 | ||||
-rw-r--r-- | app/src/main/res/xml/theme_preferences.xml | 3 |
2 files changed, 15 insertions, 1 deletions
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" /> + <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_custom_theme_cannot_apply_to_settings_page_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 |