Cherish: Add some native monet settings
Goal is to let users control monet engine more granularly Generally all we can set solely by changing Settings.Secure.THEME_CUSTOMIZATION_OVERLAY_PACKAGES Adds the ability to choose the accent color source, a custom accent color and the theme style Theme styles are generally available with a preview on ThemePicker but not with custom sources nor color Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
@@ -759,4 +759,42 @@
|
||||
<item>11</item>
|
||||
<item>12</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Monet theme styles -->
|
||||
<string-array name="theme_style_entries">
|
||||
<item>@string/theme_style_tonal_spot</item>
|
||||
<item>@string/theme_style_vibrant</item>
|
||||
<item>@string/theme_style_expressive</item>
|
||||
<item>@string/theme_style_spritz</item>
|
||||
<item>@string/theme_style_rainbow</item>
|
||||
<item>@string/theme_style_fruit_salad</item>
|
||||
<item>@string/theme_style_muted</item>
|
||||
<item>@string/theme_style_content</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="theme_style_values" translatable="false">
|
||||
<item>TONAL_SPOT</item>
|
||||
<item>VIBRANT</item>
|
||||
<item>EXPRESSIVE</item>
|
||||
<item>SPRITZ</item>
|
||||
<item>RAINBOW</item>
|
||||
<item>FRUIT_SALAD</item>
|
||||
<item>MUTED</item>
|
||||
<item>CONTENT</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Monet color sources -->
|
||||
<string-array name="color_source_entries">
|
||||
<item>@string/color_source_both</item>
|
||||
<item>@string/color_source_home</item>
|
||||
<item>@string/color_source_lock</item>
|
||||
<item>@string/color_source_preset</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="color_source_values" translatable="false">
|
||||
<item>both</item>
|
||||
<item>home_wallpaper</item>
|
||||
<item>lock_wallpaper</item>
|
||||
<item>preset</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
||||
@@ -868,4 +868,25 @@
|
||||
<!-- Combined signal icons in status bar -->
|
||||
<string name="combined_status_bar_signal_icons_title">Combined signal icons</string>
|
||||
<string name="combined_status_bar_signal_icons_summary">Enable combined signal icons\n(WARNING: a soft reboot will occur upon enabling combined signal icons)</string>
|
||||
|
||||
<!-- Monet settings -->
|
||||
<string name="monet_settings_title">Monet theming</string>
|
||||
<string name="monet_settings_sammary">A few extra settings to customize monet engine</string>
|
||||
<string name="theme_style_title">Theme style</string>
|
||||
<string name="theme_style_tonal_spot">Tonal Spot (Default)</string>
|
||||
<string name="theme_style_vibrant">Vibrant</string>
|
||||
<string name="theme_style_expressive">Exspressive</string>
|
||||
<string name="theme_style_spritz">Spritz</string>
|
||||
<string name="theme_style_rainbow">Rainbow</string>
|
||||
<string name="theme_style_fruit_salad">Fruit Salad</string>
|
||||
<string name="theme_style_muted">Muted</string>
|
||||
<string name="theme_style_content">Content</string>
|
||||
<string name="color_source_title">Color source</string>
|
||||
<string name="color_source_both">Both (Default)</string>
|
||||
<string name="color_source_home">Home wallpaper</string>
|
||||
<string name="color_source_lock">Lock wallpaper</string>
|
||||
<string name="color_source_preset">Preset</string>
|
||||
<string name="accent_color_title">Accent Color</string>
|
||||
<string name="accent_color_summary">Override default accent color</string>
|
||||
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user