summaryrefslogtreecommitdiffstats
path: root/res/xml/preferences.xml
diff options
context:
space:
mode:
Diffstat (limited to 'res/xml/preferences.xml')
-rw-r--r--res/xml/preferences.xml55
1 files changed, 55 insertions, 0 deletions
diff --git a/res/xml/preferences.xml b/res/xml/preferences.xml
new file mode 100644
index 00000000..061170eb
--- /dev/null
+++ b/res/xml/preferences.xml
@@ -0,0 +1,55 @@
+<?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" />
+ </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" />
+
+ <CheckBoxPreference
+ android:layout="?android:attr/preferenceLayoutChild"
+ android:key="preferences_alerts_vibrate"
+ android:defaultValue="false"
+ android:title="@string/preferences_alerts_vibrate_title" />
+
+ <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>
+</PreferenceScreen>