This repository has been archived on 2025-09-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
android_packages_apps_Cherish/res/xml/cherish_settings_lockscreen.xml
2020-10-11 22:07:56 +07:00

120 lines
4.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2016 Nitrogen 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
xmlns:android="http://schemas.android.com/apk/res/android"
android:title="@string/lockscreen_title"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="lockscreen_battery_info"
android:icon="@drawable/ic_battery_info"
android:title="@string/lockscreen_battery_info_title"
android:summary="@string/lockscreen_battery_info_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="fingerprint_success_vib"
android:icon="@drawable/ic_fingerprint"
android:title="@string/fprint_sucess_vib_title"
android:summary="@string/fprint_sucess_vib_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="fingerprint_error_vib"
android:icon="@drawable/ic_fingerprint"
android:title="@string/fprint_error_vib_title"
android:summary="@string/fprint_error_vib_summary"
android:defaultValue="true" />
<!-- Lock screen -->
<PreferenceCategory
android:key="lockscreen_category"
android:title="@string/lockscreen_category">
<ListPreference
android:key="lock_clock_fonts"
android:title="@string/lock_clock_font_title"
android:dialogTitle="@string/lock_clock_font_dialog_title"
android:entries="@array/lock_clock_fonts_entries"
android:entryValues="@array/lock_clock_fonts_values"
android:summary="%s"
android:defaultValue="34"
android:persistent="false" />
<ListPreference
android:key="lock_date_fonts"
android:title="@string/lock_date_font_title"
android:dialogTitle="@string/lock_date_font_dialog_title"
android:entries="@array/lock_clock_fonts_entries"
android:entryValues="@array/lock_clock_fonts_values"
android:summary="%s"
android:defaultValue="32"
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" />
<ListPreference
android:key="lock_ownerinfo_fonts"
android:title="@string/lock_ownerinfo_font_title"
android:dialogTitle="@string/lock_ownerinfo_font_dialog_title"
android:entries="@array/lock_clock_fonts_entries"
android:entryValues="@array/lock_clock_fonts_values"
android:summary="%s"
android:defaultValue="0"
android:persistent="false" />
<com.cherish.settings.preferences.CustomSeekBarPreference
android:key="lockclock_font_size"
android:title="@string/lockclock_font_size_title"
android:max="101"
settings:min="65"
settings:units="dp"
android:persistent="false"
android:defaultValue="78" />
<com.cherish.settings.preferences.CustomSeekBarPreference
android:key="lockdate_font_size"
android:title="@string/lockdate_font_size_title"
android:max="25"
settings:min="10"
settings:units="dp"
android:defaultValue="18"
android:persistent="false" />
<com.cherish.settings.preferences.CustomSeekBarPreference
android:key="lockowner_font_size"
android:title="@string/lockowner_font_size_title"
android:max="25"
settings:min="10"
settings:units="sp"
android:defaultValue="21"
android:persistent="false" />
</PreferenceCategory>
<!-- Lockscreen Visualizer-->
<PreferenceCategory
android:key="visualizer"
android:title="@string/visualizer_title">
</PreferenceCategory>
</PreferenceScreen>