Co-authored-by: TikkiTikki <radstylemusic@gmail.com> Co-authored-by: SuperDroidBond <superdroidbond@yahoo.com> Signed-off-by: SuperDroidBond <superdroidbond@yahoo.com> Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
106 lines
4.5 KiB
XML
106 lines
4.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2017 - 2021 The Project-Xtended
|
|
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
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
|
|
android:title="@string/ambient_text_category_title">
|
|
|
|
<PreferenceCategory
|
|
android:title="@string/ambient_text_category" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="ambient_text"
|
|
android:title="@string/ambient_text_title"
|
|
android:summary="@string/ambient_text_summary"
|
|
android:defaultValue="false" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="ambient_text_animation"
|
|
android:title="@string/ambient_text_animation_title"
|
|
android:summary="@string/ambient_text_animation_summary"
|
|
android:dependency="ambient_text"
|
|
android:defaultValue="false" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingEditTextPreference
|
|
android:key="ambient_text_string"
|
|
android:title="@string/ambient_text_string_title"
|
|
android:dependency="ambient_text"
|
|
android:defaultValue="#Welcome To Cherish" />
|
|
|
|
<ListPreference
|
|
android:key="ambient_text_font"
|
|
android:title="@string/ambient_text_font_title"
|
|
android:dialogTitle="@string/ambient_text_font_title"
|
|
android:entries="@array/lock_clock_fonts_entries"
|
|
android:entryValues="@array/lock_clock_fonts_values"
|
|
android:summary="%s"
|
|
android:defaultValue="8"
|
|
android:dependency="ambient_text"
|
|
android:persistent="false" />
|
|
|
|
<ListPreference
|
|
android:key="ambient_text_type_color"
|
|
android:title="@string/ambient_text_type_color_title"
|
|
android:dialogTitle="@string/ambient_text_type_color_title"
|
|
android:entries="@array/ambient_text_type_color_entries"
|
|
android:entryValues="@array/ambient_text_type_color_values"
|
|
android:summary="%s"
|
|
android:defaultValue="0"
|
|
android:dependency="ambient_text"
|
|
android:persistent="false" />
|
|
|
|
<net.margaritov.preference.colorpicker.ColorPickerPreference
|
|
android:key="ambient_text_color"
|
|
android:title="@string/ambient_text_color_title"
|
|
android:persistent="false"
|
|
settings:defaultColorValue="0xFF880000" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSeekBarPreference
|
|
android:key="ambient_text_size"
|
|
android:title="@string/ambient_text_size_title"
|
|
android:max="100"
|
|
android:min="1"
|
|
android:dependency="ambient_text"
|
|
settings:units="dp"
|
|
android:defaultValue="30" />
|
|
|
|
<ListPreference
|
|
android:key="ambient_text_alignment"
|
|
android:title="@string/ambient_text_align_title"
|
|
android:summary="%s"
|
|
android:dialogTitle="@string/ambient_text_align_title"
|
|
android:entries="@array/ambient_text_alignment_entries"
|
|
android:entryValues="@array/ambient_text_alignment_values"
|
|
android:defaultValue="3"
|
|
android:dependency="ambient_text"
|
|
android:persistent="false" />
|
|
|
|
<PreferenceCategory
|
|
android:title="@string/ambient_image_category" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="ambient_image"
|
|
android:title="@string/ambient_image_title"
|
|
android:defaultValue="false" />
|
|
|
|
<Preference
|
|
android:key="file_ambient_select"
|
|
android:title="@string/file_header_select_title"
|
|
android:summary="@string/file_header_select_summary"
|
|
android:persistent="false"
|
|
android:dependency="ambient_image" >
|
|
</Preference>
|
|
|
|
</PreferenceScreen>
|