Cherish:Comeback DU Themes
@hungphan2001: Bring for CherishOS v2.x Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
committed by
Hưng Phan
parent
e6308bab52
commit
3f235e368a
@@ -12,4 +12,23 @@
|
||||
limitations under the License.
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
|
||||
<!-- Themes -->
|
||||
<string-array name="theme_type_titles">
|
||||
<item>@string/theme_type_light</item>
|
||||
<item>@string/theme_type_pitch_black</item>
|
||||
<item>@string/theme_type_solarized_dark</item>
|
||||
<item>@string/theme_type_baked_green</item>
|
||||
<item>@string/theme_type_choco_x</item>
|
||||
<item>@string/theme_type_du_pitchblack</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="theme_type_values">
|
||||
<item>1</item>
|
||||
<item>2</item>
|
||||
<item>3</item>
|
||||
<item>4</item>
|
||||
<item>5</item>
|
||||
<item>6</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
||||
@@ -87,4 +87,14 @@
|
||||
|
||||
<!-- Lockscreen -->
|
||||
<string name="lockscreen_category">Lockscreen</string>
|
||||
|
||||
<!-- Themes -->
|
||||
<string name="theme_type_title">System theme</string>
|
||||
<string name="theme_type_summary">Select theme</string>
|
||||
<string name="theme_type_light">Light</string>
|
||||
<string name="theme_type_pitch_black">Google dark</string>
|
||||
<string name="theme_type_solarized_dark">Solarized dark</string>
|
||||
<string name="theme_type_baked_green">Baked Green</string>
|
||||
<string name="theme_type_choco_x">Choco X</string>
|
||||
<string name="theme_type_du_pitchblack">Pitch black</string>
|
||||
</resources>
|
||||
|
||||
@@ -17,4 +17,14 @@
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:title="@string/theme_title"
|
||||
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
|
||||
|
||||
<ListPreference
|
||||
android:key="theme_switch"
|
||||
android:icon="@drawable/ic_system_theme"
|
||||
android:title="@string/theme_type_title"
|
||||
android:summary="%s"
|
||||
android:dialogTitle="@string/theme_type_summary"
|
||||
android:entries="@array/theme_type_titles"
|
||||
android:entryValues="@array/theme_type_values"
|
||||
android:defaultValue="1"/>
|
||||
</PreferenceScreen>
|
||||
@@ -16,5 +16,4 @@
|
||||
<PreferenceScreen
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
|
||||
|
||||
</PreferenceScreen>
|
||||
|
||||
Reference in New Issue
Block a user