1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2008 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16
17<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
18    <PreferenceCategory android:title="@string/preferences_general_title">
19        <CheckBoxPreference
20            android:key="preferences_hide_declined"
21            android:defaultValue="false"
22            android:title="@string/preferences_hide_declined_title" />
23        <CheckBoxPreference
24            android:key="preferences_show_week_num"
25            android:defaultValue="false"
26            android:title="@string/preferences_show_week_num_title" />
27        <ListPreference
28            android:key="preferences_week_start_day"
29            android:defaultValue="@string/preferences_week_start_day_default"
30            android:title="@string/preferences_week_start_day_title"
31            android:entries="@array/preferences_week_start_day_labels"
32            android:entryValues="@array/preferences_week_start_day_values"
33            android:dialogTitle="@string/preferences_week_start_day_dialog" />
34        <CheckBoxPreference
35            android:key="preferences_home_tz_enabled"
36            android:defaultValue="false"
37            android:title="@string/preferences_use_home_tz_title"
38            android:summary="@string/preferences_use_home_tz_descrip" />
39        <Preference
40            android:key="preferences_home_tz"
41            android:dependency="preferences_home_tz_enabled"
42            android:defaultValue="@string/preferences_home_tz_default"
43            android:title="@string/preferences_home_tz_title" />
44    </PreferenceCategory>
45    <PreferenceCategory
46        android:key="preferences_alerts_category"
47        android:title="@string/preferences_reminder_title">
48        <CheckBoxPreference
49            android:key="preferences_alerts"
50            android:defaultValue="true"
51            android:title="@string/preferences_alerts_title" />
52
53        <RingtonePreference
54            android:layout="?android:attr/preferenceLayoutChild"
55            android:key="preferences_alerts_ringtone"
56            android:title="@string/preferences_alerts_ringtone_title"
57            android:ringtoneType="notification"
58            android:defaultValue="content://settings/system/notification_sound" />
59
60        <CheckBoxPreference
61            android:layout="?android:attr/preferenceLayoutChild"
62            android:key="preferences_alerts_vibrate"
63            android:title="@string/preferences_alerts_vibrateWhen_title"
64            android:defaultValue="false" />
65
66        <CheckBoxPreference
67            android:layout="?android:attr/preferenceLayoutChild"
68            android:key="preferences_alerts_popup"
69            android:defaultValue="false"
70            android:title="@string/preferences_alerts_popup_title" />
71
72        <ListPreference
73            android:key="preferences_default_reminder"
74            android:defaultValue="@string/preferences_default_reminder_default"
75            android:title="@string/preferences_default_reminder_title"
76            android:entries="@array/preferences_default_reminder_labels"
77            android:entryValues="@array/preferences_default_reminder_values"
78            android:dialogTitle="@string/preferences_default_reminder_dialog" />
79     </PreferenceCategory>
80
81</PreferenceScreen>
82