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

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>