96 lines
3.6 KiB
XML
96 lines
3.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!-- Copyright (C) 2015 The CyanogenMod Project (DvTonder)
|
|
|
|
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:key="clock_settings"
|
|
android:title="@string/clock_category">
|
|
|
|
<PreferenceCategory android:title="@string/general_category">
|
|
|
|
<SwitchPreference
|
|
android:key="clock_digital"
|
|
android:title="@string/use_digital_clock_title"
|
|
android:summary="@string/use_digital_clock_summary"
|
|
android:defaultValue="true" />
|
|
|
|
<SwitchPreference
|
|
android:key="clock_show_date"
|
|
android:title="@string/show_date_title"
|
|
android:defaultValue="true" />
|
|
|
|
<SwitchPreference
|
|
android:key="clock_show_alarm"
|
|
android:title="@string/show_alarm_title"
|
|
android:defaultValue="true" />
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory android:title="@string/display_category">
|
|
|
|
<SwitchPreference
|
|
android:key="clock_font"
|
|
android:title="@string/clock_font_title"
|
|
android:dependency="clock_digital"
|
|
android:defaultValue="false" />
|
|
|
|
<SwitchPreference
|
|
android:key="clock_font_minutes"
|
|
android:title="@string/clock_font_minutes_title"
|
|
android:dependency="clock_digital"
|
|
android:defaultValue="false" />
|
|
|
|
<SwitchPreference
|
|
android:key="clock_am_pm_indicator"
|
|
android:title="@string/clock_am_pm_title"
|
|
android:dependency="clock_digital"
|
|
android:defaultValue="false" />
|
|
|
|
<SwitchPreference
|
|
android:key="clock_font_date"
|
|
android:title="@string/clock_font_date_title"
|
|
android:defaultValue="true" />
|
|
|
|
<ListPreference
|
|
android:key="clock_font_color"
|
|
android:title="@string/font_color"
|
|
android:dependency="clock_digital"
|
|
android:defaultValue="#ffffffff"
|
|
android:entries="@array/font_color_entries"
|
|
android:entryValues="@array/font_color_values" />
|
|
|
|
<ListPreference
|
|
android:key="clock_alarm_font_color"
|
|
android:title="@string/font_color_alarm"
|
|
android:defaultValue="#80ffffff"
|
|
android:entries="@array/font_color_entries"
|
|
android:entryValues="@array/font_color_values" />
|
|
|
|
<ListPreference
|
|
android:key="clock_background_color"
|
|
android:title="@string/background_color"
|
|
android:summary="%s"
|
|
android:defaultValue="#ff000000"
|
|
android:entries="@array/font_color_entries"
|
|
android:entryValues="@array/font_color_values" />
|
|
|
|
<!-- Background transparency selection -->
|
|
<com.cyanogenmod.lockclock.preference.BackgroundTransparency
|
|
android:key="clock_background_transparency"
|
|
android:title="@string/background_transparency"
|
|
android:dialogTitle="@string/background_transparency"
|
|
android:persistent="false" />
|
|
</PreferenceCategory>
|
|
</PreferenceScreen>
|