65 lines
2.7 KiB
XML
65 lines
2.7 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_batteryenergy"
|
|
android:title="@string/lockscreen_battery_info_title"
|
|
android:summary="@string/lockscreen_battery_info_summary"
|
|
android:defaultValue="true" />
|
|
|
|
<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" />
|
|
|
|
<!-- 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>
|
|
</PreferenceScreen>
|