Cherish:Welcome Back Lockscreen Item Colors [2/2]

**SDB: Remove Lock Icon color options for Q

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
SuperDroidBond
2018-10-24 19:38:41 +05:30
committed by Hưng Phan
parent e02b66dda8
commit 9269a6a1a5
6 changed files with 420 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 587 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 309 B

View File

@@ -426,4 +426,22 @@
<string name="lockdate_font_size_title">Date font size</string>
<string name="lockclock_font_size_title">Clock font size</string>
<!-- Lockscreen Colors -->
<string name="lockscreen_colors">Lockscreen Colors</string>
<string name="lockscreen_clock_color">Lockscreen Clock</string>
<string name="lockscreen_colors_summary">Change color of lockscreen widgets</string>
<string name="lockscreen_clock_date_color">Lockscreen Date</string>
<string name="lockscreen_colors_reset_title">Reset lockscreen colors</string>
<string name="lockscreen_colors_reset_message">Are you sure you want to reset these colors to default?</string>
<string name="lockscreen_colors_title">Lockscreen colors</string>
<string name="lockscreen_owner_info_color">Owner info</string>
<string name="lockscreen_phone_icon_color">Lockscreen Bottom Left shortcut</string>
<string name="lockscreen_lock_icon_color">Lockscreen Lock icon</string>
<string name="lockscreen_camera_icon_color">Lockscreen Bottom Right shortcut</string>
<string name="ls_shortcut_icon_color">Lockscreen Shortcuts</string>
<string name="lockscreen_indication_text_color">Lockscreen Indication text</string>
<string name="lockscreen_weather_temp_color">Weather Temp Color</string>
<string name="lockscreen_weather_city_color">Weather City Color</string>
<string name="lockscreen_weather_icon_color">Weather Icon Color</string>
<string name="yes">YES</string>
</resources>

View File

@@ -62,6 +62,13 @@
android:summary="@string/lock_date_font_summary"
android:persistent="false" />
<PreferenceScreen
android:key="lockscreen_colors"
android:title="@string/lockscreen_colors"
android:title="@string/accent_color"
android:summary="@string/lockscreen_colors_summary"
android:fragment="com.cherish.settings.fragments.LockColors" />
<com.cherish.settings.preferences.CustomSeekBarPreference
android:key="lockclock_font_size"
android:title="@string/lockclock_font_size_title"

71
res/xml/lock_colors.xml Normal file
View File

@@ -0,0 +1,71 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright (C) 2015 The Dirty Unicorns Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen
android:title="@string/lockscreen_colors"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<net.margaritov.preference.colorpicker.ColorPickerPreference
android:key="lockscreen_clock_color"
android:title="@string/lockscreen_clock_color"
android:defaultValue="0xffffffff" />
<net.margaritov.preference.colorpicker.ColorPickerPreference
android:key="lockscreen_clock_date_color"
android:title="@string/lockscreen_clock_date_color"
android:defaultValue="0xffffffff" />
<net.margaritov.preference.colorpicker.ColorPickerPreference
android:key="lockscreen_owner_info_color"
android:title="@string/lockscreen_owner_info_color"
android:defaultValue="0xffffffff" />
<net.margaritov.preference.colorpicker.ColorPickerPreference
android:key="lockscreen_phone_icon_color"
android:title="@string/lockscreen_phone_icon_color"
android:defaultValue="0xffffffff" />
<net.margaritov.preference.colorpicker.ColorPickerPreference
android:key="lockscreen_camera_icon_color"
android:title="@string/lockscreen_camera_icon_color"
android:defaultValue="0xffffffff" />
<net.margaritov.preference.colorpicker.ColorPickerPreference
android:key="lockscreen_indication_text_color"
android:title="@string/lockscreen_indication_text_color"
android:defaultValue="0xffffffff" />
<!--
<net.margaritov.preference.colorpicker.ColorPickerPreference
android:key="lockscreen_weather_temp_color"
android:title="@string/lockscreen_weather_temp_color"
android:defaultValue="0xffffffff" />
<net.margaritov.preference.colorpicker.ColorPickerPreference
android:key="lockscreen_weather_city_color"
android:title="@string/lockscreen_weather_city_color"
android:defaultValue="0xffffffff" />
<net.margaritov.preference.colorpicker.ColorPickerPreference
android:key="lockscreen_weather_icon_color"
android:title="@string/lockscreen_weather_icon_color"
android:defaultValue="0xffffffff" />
-->
</PreferenceScreen>