Cherish:Add support for system theming [2/3]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
@@ -568,4 +568,17 @@
|
|||||||
<item>6</item>
|
<item>6</item>
|
||||||
<item>7</item>
|
<item>7</item>
|
||||||
</string-array>
|
</string-array>
|
||||||
|
|
||||||
|
<string-array name="custom_theme_entries" translatable="false">
|
||||||
|
<item>@string/custom_theme_default</item>
|
||||||
|
<item>@string/custom_theme_black</item>
|
||||||
|
<item>@string/custom_theme_clear</item>
|
||||||
|
<item>@string/custom_theme_vivid</item>
|
||||||
|
</string-array>
|
||||||
|
<string-array name="custom_theme_values" translatable="false">
|
||||||
|
<item>0</item>
|
||||||
|
<item>1</item>
|
||||||
|
<item>2</item>
|
||||||
|
<item>3</item>
|
||||||
|
</string-array>
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
@@ -784,4 +784,12 @@
|
|||||||
<string name="power_menu_transparency">Power/reboot menu opacity</string>
|
<string name="power_menu_transparency">Power/reboot menu opacity</string>
|
||||||
<string name="power_menu_dialog_dim">Power/reboot dialog dim background amount</string>
|
<string name="power_menu_dialog_dim">Power/reboot dialog dim background amount</string>
|
||||||
|
|
||||||
|
<!-- Black theme -->
|
||||||
|
<string name="custom_theme_title">Use Custom theme</string>
|
||||||
|
<string name="custom_theme_summary">Force custom background colors</string>
|
||||||
|
<string name="custom_theme_default">Default</string>
|
||||||
|
<string name="custom_theme_black">Black</string>
|
||||||
|
<string name="custom_theme_clear">Clear</string>
|
||||||
|
<string name="custom_theme_vivid">Vivid(Monet)</string>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
@@ -73,6 +73,14 @@
|
|||||||
android:summary="@string/monet_engine_settings_summary"
|
android:summary="@string/monet_engine_settings_summary"
|
||||||
android:fragment="com.cherish.settings.fragments.MonetEngineSettings" />
|
android:fragment="com.cherish.settings.fragments.MonetEngineSettings" />
|
||||||
|
|
||||||
|
<com.cherish.settings.preferences.SecureSettingListPreference
|
||||||
|
android:key="system_custom_theme"
|
||||||
|
android:title="@string/custom_theme_title"
|
||||||
|
android:summary="@string/custom_theme_summary"
|
||||||
|
android:defaultValue="0"
|
||||||
|
android:entries="@array/custom_theme_entries"
|
||||||
|
android:entryValues="@array/custom_theme_values" />
|
||||||
|
|
||||||
<!-- Font style -->
|
<!-- Font style -->
|
||||||
<Preference
|
<Preference
|
||||||
android:key="android.theme.customization.font"
|
android:key="android.theme.customization.font"
|
||||||
|
|||||||
Reference in New Issue
Block a user