From 717076bde375afb14831409bcc305e679f0fddd0 Mon Sep 17 00:00:00 2001 From: Pranav Vashi Date: Mon, 27 Dec 2021 01:59:55 +0530 Subject: [PATCH] Cherish: Add adaptive icon shape customization MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Pranav Vashi Signed-off-by: Hưng Phan --- res/values/cherish_strings.xml | 2 ++ res/xml/cherish_settings_theme.xml | 4 ++++ src/com/cherish/settings/fragments/ThemeSettings.java | 2 ++ 3 files changed, 8 insertions(+) diff --git a/res/values/cherish_strings.xml b/res/values/cherish_strings.xml index 272fa68..cd01b79 100644 --- a/res/values/cherish_strings.xml +++ b/res/values/cherish_strings.xml @@ -537,6 +537,8 @@ Browse the dark theme options Theming + + Icon shape Accent color diff --git a/res/xml/cherish_settings_theme.xml b/res/xml/cherish_settings_theme.xml index d2dc0cb..a3be1bc 100644 --- a/res/xml/cherish_settings_theme.xml +++ b/res/xml/cherish_settings_theme.xml @@ -31,6 +31,10 @@ + + controllers = new ArrayList<>(); controllers.add(new OverlayCategoryPreferenceController(context, "android.theme.customization.font")); + controllers.add(new OverlayCategoryPreferenceController(context, + "android.theme.customization.adaptive_icon_shape")); controllers.add(new OverlayCategoryPreferenceController(context, "android.theme.customization.icon_pack")); return controllers;