diff options
author | Alex Ning <chineseperson5@gmail.com> | 2021-06-16 09:24:17 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2021-06-16 09:24:17 +0000 |
commit | dfe2ca80814f14532e8253f807ee1a05c1734607 (patch) | |
tree | 8a3ccb3b9b3c6341a424392385099d80d47f3bad /app/src/main/res | |
parent | 761217a87f282c9dfb34d25450abdceb5b6bc217 (diff) | |
download | infinity-for-reddit-dfe2ca80814f14532e8253f807ee1a05c1734607.tar infinity-for-reddit-dfe2ca80814f14532e8253f807ee1a05c1734607.tar.gz infinity-for-reddit-dfe2ca80814f14532e8253f807ee1a05c1734607.tar.bz2 infinity-for-reddit-dfe2ca80814f14532e8253f807ee1a05c1734607.tar.lz infinity-for-reddit-dfe2ca80814f14532e8253f807ee1a05c1734607.tar.xz infinity-for-reddit-dfe2ca80814f14532e8253f807ee1a05c1734607.tar.zst infinity-for-reddit-dfe2ca80814f14532e8253f807ee1a05c1734607.zip |
Material You.
Diffstat (limited to '')
-rw-r--r-- | app/src/main/res/values/strings.xml | 3 | ||||
-rw-r--r-- | app/src/main/res/xml/theme_preferences.xml | 9 |
2 files changed, 12 insertions, 0 deletions
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index ce33e48f..abb5c5b7 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -457,6 +457,9 @@ <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_category_material_you_title">Material You</string> + <string name="settings_enable_material_you_title">Enable Material You</string> + <string name="settings_enable_material_you_summary">Personalize Infinity based on Your Wallpaper</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> diff --git a/app/src/main/res/xml/theme_preferences.xml b/app/src/main/res/xml/theme_preferences.xml index f4fb02a8..3f726ec0 100644 --- a/app/src/main/res/xml/theme_preferences.xml +++ b/app/src/main/res/xml/theme_preferences.xml @@ -40,6 +40,15 @@ app:icon="@drawable/ic_edit_24dp" app:title="@string/settings_manage_themes_title" /> + <PreferenceCategory + app:title="@string/settings_category_material_you_title" /> + + <SwitchPreference + app:defaultValue="false" + app:key="enable_material_you" + app:title="@string/settings_enable_material_you_title" + app:summary="@string/settings_enable_material_you_summary" /> + <Preference app:icon="@drawable/ic_info_preference_24dp" app:summary="@string/settings_custom_theme_cannot_apply_to_settings_page_summary" |