Cherish: Add adaptive icon shape customization
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com> Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
@@ -533,12 +533,12 @@
|
||||
<string name="dark_ui_mode_summary">Browse the dark theme options</string>
|
||||
<!-- [CHAR_LIMIT=NONE] Developer Settings: Title of the settings category for theme overlays. -->
|
||||
<string name="theme_customization_category">Theming</string>
|
||||
<!-- [CHAR_LIMIT=NONE] Developer Settings: Title of the setting which enables overlays to customize the adaptive icon shape (e.g. launcher and quick settings icons). -->
|
||||
<string name="theme_customization_icon_shape_title">Icon shape</string>
|
||||
<!-- [CHAR_LIMIT=NONE] Developer Settings: Title of the setting which enables overlays to customize accent color. -->
|
||||
<string name="theme_customization_accent_color_title">Accent color</string>
|
||||
<!-- [CHAR_LIMIT=NONE] Developer Settings: Title of the setting which enables overlays to customize headline and body fonts. -->
|
||||
<string name="theme_customization_font_title">Headline / Body font</string>
|
||||
<!-- [CHAR_LIMIT=NONE] Developer Settings: Title of the setting which enables overlays to customize the adaptive icon shape (e.g. launcher and quick settings icons). -->
|
||||
<string name="theme_customization_icon_shape_title">Icon shape</string>
|
||||
<!-- [CHAR_LIMIT=NONE] Developer Settings: Title of the setting which enables overlays to customize the statusbar icon -->
|
||||
<string name="theme_customization_sysui_icon_title">Statusbar icon</string>
|
||||
</resources>
|
||||
|
||||
@@ -31,6 +31,10 @@
|
||||
<ListPreference
|
||||
android:key="android.theme.customization.font"
|
||||
android:title="@string/theme_customization_font_title"/>
|
||||
|
||||
<ListPreference
|
||||
android:key="android.theme.customization.adaptive_icon_shape"
|
||||
android:title="@string/theme_customization_icon_shape_title"/>
|
||||
|
||||
<ListPreference
|
||||
android:key="android.theme.customization.icon_pack"
|
||||
|
||||
@@ -98,6 +98,8 @@ public class ThemeSettings extends DashboardFragment implements OnPreferenceChan
|
||||
final List<AbstractPreferenceController> 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;
|
||||
|
||||
Reference in New Issue
Block a user