139 lines
5.4 KiB
XML
139 lines
5.4 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">
|
|
|
|
<!-- Lock screen -->
|
|
<PreferenceCategory
|
|
android:key="lockscreen_category"
|
|
android:title="@string/lockscreen_category">
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="lockscreen_battery_info"
|
|
android:icon="@drawable/ic_batteryenergy"
|
|
android:title="@string/lockscreen_battery_info_title"
|
|
android:summary="@string/lockscreen_battery_info_summary"
|
|
android:defaultValue="true" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingListPreference
|
|
android:key="lockscreen_charging_animation_style"
|
|
android:icon="@drawable/ic_charging"
|
|
android:dialogTitle="@string/lockscreen_charging_animation_title"
|
|
android:title="@string/lockscreen_charging_animation_title"
|
|
android:entries="@array/lockscreen_charging_animation_entries"
|
|
android:entryValues="@array/lockscreen_charging_animation_values"
|
|
android:summary="%s"
|
|
android:defaultValue="1" />
|
|
|
|
<Preference
|
|
android:title="@string/lockscreen_tuner_title"
|
|
android:icon="@drawable/ic_shortcut"
|
|
android:summary="@string/lockscreen_tuner_summary" >
|
|
<intent android:action="android.intent.action.MAIN"
|
|
android:targetPackage="com.android.systemui"
|
|
android:targetClass="com.android.systemui.tuner.LockscreenActivity" />
|
|
</Preference>
|
|
|
|
|
|
</PreferenceCategory>
|
|
|
|
|
|
<!-- Lockscreen Clock -->
|
|
<PreferenceCategory
|
|
android:key="lockscreen_clock"
|
|
android:title="@string/lockscreen_clock_title">
|
|
|
|
<com.cherish.settings.preferences.SecureSettingListPreference
|
|
android:key="lockscreen_clock_selection"
|
|
android:icon="@drawable/ic_lockscreen_clock_selection"
|
|
android:title="@string/lockscreen_clock_title"
|
|
android:dialogTitle="@string/lockscreen_clock_dialog_title"
|
|
android:entries="@array/lockscreen_clock_titles"
|
|
android:entryValues="@array/lockscreen_clock_values"
|
|
android:defaultValue="2" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
<!-- Lockscreen Date Styles-->
|
|
<PreferenceCategory
|
|
android:key="lockscreen_date"
|
|
android:title="@string/lockscreen_date_title">
|
|
|
|
<com.cherish.settings.preferences.SecureSettingListPreference
|
|
android:key="lockscreen_date_selection"
|
|
android:icon="@drawable/ic_calendar"
|
|
android:title="@string/lockscreen_date_selection_title"
|
|
android:dialogTitle="@string/lockscreen_date_dialog_title"
|
|
android:entries="@array/lockscreen_date_selection_entries"
|
|
android:entryValues="@array/lockscreen_date_selection_values"
|
|
android:defaultValue="0" />
|
|
</PreferenceCategory>
|
|
|
|
<!-- Lockscreen Visualizer-->
|
|
<PreferenceCategory
|
|
android:key="visualizer"
|
|
android:title="@string/visualizer_title">
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="lockscreen_media_metadata"
|
|
android:title="@string/lockscreen_media_art_title"
|
|
android:icon="@drawable/ic_media"
|
|
android:defaultValue="true" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSeekBarPreference
|
|
android:key="lockscreen_media_blur"
|
|
android:title="@string/lockscreen_media_blur_title"
|
|
android:dependency="lockscreen_media_metadata"
|
|
android:max="100"
|
|
settings:min="5"
|
|
settings:units="%"
|
|
settings:interval="5"
|
|
android:defaultValue="100"/>
|
|
</PreferenceCategory>
|
|
|
|
<!-- FOD -->
|
|
<PreferenceCategory
|
|
android:key="fod"
|
|
android:title="@string/fod_title">
|
|
|
|
<!-- FOD icon picker -->
|
|
<Preference
|
|
android:key="fod_icon_picker_category"
|
|
android:icon="@drawable/ic_fingerprint"
|
|
android:title="@string/fod_icon_picker_title"
|
|
android:summary="@string/fod_icon_picker_summary"
|
|
android:fragment="com.cherish.settings.fragments.FODIconPickerFragment" />
|
|
</PreferenceCategory>
|
|
|
|
|
|
<SwitchPreference
|
|
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:persistent="false" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="fp_unlock_keystore"
|
|
android:icon="@drawable/ic_unlock"
|
|
android:title="@string/fp_unlock_keystore_title"
|
|
android:summary="@string/fp_unlock_keystore_summary"
|
|
android:defaultValue="false" />
|
|
|
|
</PreferenceScreen>
|