summaryrefslogtreecommitdiffstats
path: root/res/xml/settings.xml
blob: 0d65c159c4fd35f495fc7ec605f0e8f8b9676a5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) 2014, The Linux Foundation. All rights reserved.
     Not a Contribution.

     Copyright (C) 2009 The Android Open Source 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/settings">
    <PreferenceCategory
        android:title="@string/clock_settings">
        <ListPreference
            android:key="clock_style"
            android:title="@string/clock_style"
            android:entries="@array/clock_style_entries"
            android:entryValues="@array/clock_style_values"
            android:defaultValue="@string/default_clock_style"
            android:dialogTitle="@string/clock_style" />
        <SwitchPreference
            android:key="automatic_home_clock"
            android:title="@string/automatic_home_clock"
            android:summary="@string/automatic_home_clock_summary"
            android:defaultValue="true" />
        <ListPreference
            android:key="home_time_zone"
            android:entries="@array/timezone_labels"
            android:entryValues="@array/timezone_values"
            android:dialogTitle="@string/home_time_zone_title"
            android:title="@string/home_time_zone" />
    </PreferenceCategory>

    <PreferenceCategory
        android:key="key_alarm_settings"
        android:title="@string/alarm_settings">

        <ListPreference
            android:key="auto_silence"
            android:title="@string/auto_silence_title"
            android:entries="@array/auto_silence_entries"
            android:entryValues="@array/auto_silence_values"
            android:defaultValue="@string/default_auto_silence_value"
            android:dialogTitle="@string/auto_silence_title" />

       <com.android.deskclock.SnoozeLengthDialog
            android:key="snooze_duration"
            android:title="@string/snooze_duration_title"
            android:defaultValue="10"/>

        <VolumePreference
            android:key="volume_setting"
            android:title="@string/alarm_volume_title"
            android:dialogTitle="@string/alarm_volume_title"
            android:streamType="alarm" />

        <ListPreference
            android:key="volume_button_setting"
            android:title="@string/volume_button_setting_title"
            android:dialogTitle="@string/volume_button_setting_title"
            android:entries="@array/volume_button_setting_entries"
            android:entryValues="@array/volume_button_setting_values"
            android:defaultValue="0" />

       <ListPreference
            android:key="flip_action"
            android:title="@string/flip_action_title"
            android:dialogTitle="@string/flip_action_title"
            android:entries="@array/volume_button_setting_entries"
            android:entryValues="@array/volume_button_setting_values"
            android:defaultValue="0" />

        <ListPreference
            android:key="shake_action"
            android:title="@string/shake_action_title"
            android:dialogTitle="@string/shake_action_title"
            android:entries="@array/volume_button_setting_entries"
            android:entryValues="@array/volume_button_setting_values"
            android:defaultValue="0" />

        <SwitchPreference
            android:key="show_status_bar_icon"
            android:title="@string/show_status_bar_icon_title"
            android:summary="@string/show_status_bar_icon_summary"
            android:persistent="false"
            android:defaultValue="true" />
    </PreferenceCategory>
</PreferenceScreen>