<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2008 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">
<PreferenceCategory android:title="@string/preferences_general_title">
<CheckBoxPreference
android:key="preferences_hide_declined"
android:defaultValue="false"
android:title="@string/preferences_hide_declined_title" />
<CheckBoxPreference
android:key="preferences_home_tz_enabled"
android:defaultValue="false"
android:title="@string/preferences_use_home_tz_title"
android:summary="@string/preferences_use_home_tz_descrip" />
<ListPreference
android:key="preferences_home_tz"
android:dependency="preferences_home_tz_enabled"
android:defaultValue="@string/preferences_home_tz_default"
android:title="@string/preferences_home_tz_title"
android:entries="@array/timezone_labels"
android:entryValues="@array/timezone_values"
android:dialogTitle="@string/preferences_home_tz_title" />
</PreferenceCategory>
<PreferenceCategory android:title="@string/preferences_alerts_title">
<ListPreference
android:key="preferences_alerts_type"
android:defaultValue="@string/preferences_alerts_type_default"
android:title="@string/preferences_alerts_type_title"
android:entries="@array/preferences_alert_type_labels"
android:entryValues="@array/preferences_alert_type_values"
android:dialogTitle="@string/preferences_alerts_type_dialog" />
<RingtonePreference
android:layout="?android:attr/preferenceLayoutChild"
android:key="preferences_alerts_ringtone"
android:title="@string/preferences_alerts_ringtone_title"
android:ringtoneType="notification"
android:defaultValue="content://settings/system/notification_sound" />
<ListPreference
android:layout="?android:attr/preferenceLayoutChild"
android:key="preferences_alerts_vibrateWhen"
android:title="@string/preferences_alerts_vibrateWhen_title"
android:summary="@string/preferences_alerts_vibrateWhen_summary"
android:entries="@array/prefEntries_alerts_vibrateWhen"
android:entryValues="@array/prefValues_alerts_vibrateWhen"
android:defaultValue="@string/prefDefault_alerts_vibrateWhen"
android:dialogTitle="@string/prefDialogTitle_vibrateWhen" />
<ListPreference
android:key="preferences_default_reminder"
android:defaultValue="@string/preferences_default_reminder_default"
android:title="@string/preferences_default_reminder_title"
android:entries="@array/preferences_default_reminder_labels"
android:entryValues="@array/preferences_default_reminder_values"
android:dialogTitle="@string/preferences_default_reminder_dialog" />
</PreferenceCategory>
<PreferenceCategory
android:title="@string/preferences_about_title">
<Preference
android:key="build_version"
android:title="@string/preferences_build_version" />
</PreferenceCategory>
</PreferenceScreen>