Cherish: Add MonetWannabe
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
@@ -1390,4 +1390,24 @@
|
||||
<item>2</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="monet_color_mode_values" translatable="false">
|
||||
<item>0</item>
|
||||
<item>1</item>
|
||||
<item>2</item>
|
||||
<item>3</item>
|
||||
<item>4</item>
|
||||
<item>5</item>
|
||||
<item>6</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="monet_color_mode_entries">
|
||||
<item>@string/monet_0</item>
|
||||
<item>@string/monet_1</item>
|
||||
<item>@string/monet_2</item>
|
||||
<item>@string/monet_3</item>
|
||||
<item>@string/monet_4</item>
|
||||
<item>@string/monet_5</item>
|
||||
<item>@string/monet_6</item>
|
||||
</string-array>
|
||||
|
||||
</resources>
|
||||
|
||||
@@ -1363,5 +1363,19 @@
|
||||
<!-- Quick settings brightness icon -->
|
||||
<string name="brightness_icon_title">Auto brightness icon</string>
|
||||
<string name="brightness_icon_summary">Display toggle for adaptive brightness in the QS footer</string>
|
||||
<string name="monet_0">Vibrant</string>
|
||||
<string name="monet_1">Light Vibrant</string>
|
||||
<string name="monet_2">Dark Vibrant</string>
|
||||
<string name="monet_3">Dominant</string>
|
||||
<string name="monet_4">Muted</string>
|
||||
<string name="monet_5">Light Muted</string>
|
||||
<string name="monet_6">Dark Muted</string>
|
||||
|
||||
<string name="monet_title">MonetWannabe</string>
|
||||
<string name="monet_summary">System Wide Accent Color based on Wallpaper</string>
|
||||
<string name="monet_pallete_title">Pallete</string>
|
||||
<string name="monet_pallete_summary">Color Modes. \n(After Choosing you need to reapply the wallpaper for the changes to take affect).</string>
|
||||
<string name="monet_accuracy">Monet Accuracy</string>
|
||||
<string name="monet_accuracy_summary">The More Accurate the slower (Def 16)</string>
|
||||
|
||||
</resources>
|
||||
|
||||
@@ -34,6 +34,32 @@
|
||||
android:fragment="com.android.settings.display.darkmode.DarkModeSettingsFragment"
|
||||
settings:controller="com.android.settings.display.DarkUIPreferenceController" />
|
||||
|
||||
<com.cherish.settings.preferences.SecureSettingSwitchPreference
|
||||
android:key="monet_engine"
|
||||
settings:iconSpaceReserved="false"
|
||||
android:title="@string/monet_title"
|
||||
android:summary="@string/monet_summary"
|
||||
android:defaultValue="true" />
|
||||
|
||||
<com.cherish.settings.preferences.SecureSettingListPreference
|
||||
android:key="monet_palette"
|
||||
settings:iconSpaceReserved="false"
|
||||
android:title="@string/monet_pallete_title"
|
||||
android:summary="@string/monet_pallete_summary"
|
||||
android:entries="@array/monet_color_mode_entries"
|
||||
android:entryValues="@array/monet_color_mode_values"
|
||||
android:defaultValue="0"/>
|
||||
|
||||
<com.cherish.settings.preferences.SecureSettingSeekBarPreference
|
||||
android:key="monet_color_gen"
|
||||
settings:iconSpaceReserved="false"
|
||||
android:title="@string/monet_accuracy"
|
||||
android:summary="@string/monet_accuracy_summary"
|
||||
android:max="100"
|
||||
settings:min="1"
|
||||
android:defaultValue="16"
|
||||
settings:interval="1"/>
|
||||
|
||||
<net.margaritov.preference.colorpicker.ColorPickerPreference
|
||||
android:key="accent_color"
|
||||
android:icon="@drawable/ic_accent_picker"
|
||||
|
||||
Reference in New Issue
Block a user