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 <PreferenceScreen 45 android:key="preferences_clear_search_history" 46 android:title="@string/preferences_clear_search_history_title" 47 android:summary="@string/preferences_clear_search_history_summary" /> 48 </PreferenceCategory> 49 <PreferenceCategory 50 android:key="preferences_alerts_category" 51 android:title="@string/preferences_reminder_title"> 52 <CheckBoxPreference 53 android:key="preferences_alerts" 54 android:defaultValue="true" 55 android:title="@string/preferences_alerts_title" /> 56 57 <RingtonePreference 58 android:layout="?android:attr/preferenceLayoutChild" 59 android:key="preferences_alerts_ringtone" 60 android:title="@string/preferences_alerts_ringtone_title" 61 android:ringtoneType="notification" 62 android:defaultValue="content://settings/system/notification_sound" /> 63 64 <CheckBoxPreference 65 android:layout="?android:attr/preferenceLayoutChild" 66 android:key="preferences_alerts_vibrate" 67 android:title="@string/preferences_alerts_vibrateWhen_title" 68 android:defaultValue="false" /> 69 70 <CheckBoxPreference 71 android:layout="?android:attr/preferenceLayoutChild" 72 android:key="preferences_alerts_popup" 73 android:defaultValue="false" 74 android:title="@string/preferences_alerts_popup_title" /> 75 76 <ListPreference 77 android:key="preferences_default_reminder" 78 android:defaultValue="@string/preferences_default_reminder_default" 79 android:title="@string/preferences_default_reminder_title" 80 android:entries="@array/preferences_default_reminder_labels" 81 android:entryValues="@array/preferences_default_reminder_values" 82 android:dialogTitle="@string/preferences_default_reminder_dialog" /> 83 84 <PreferenceScreen 85 android:key="preferences_quick_responses" 86 android:fragment="com.android.calendar.QuickResponseSettings" 87 android:title="@string/quick_response_settings" 88 android:summary="@string/quick_response_settings_summary" /> 89 </PreferenceCategory> 90 91 </PreferenceScreen> 92