Roll NDK to pick std::deque patch.
[android_tools.git] / sdk / tools / templates / activities / SettingsActivity / root / res / xml / pref_notification.xml
blobb4b8cae99540c4288e186ae5142312674ffd9fcd
1 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
3     <!-- A 'parent' preference, which enables/disables child preferences (below)
4          when checked/unchecked. -->
5     <CheckBoxPreference
6         android:key="notifications_new_message"
7         android:title="@string/pref_title_new_message_notifications"
8         android:defaultValue="true" />
10     <!-- Allows the user to choose a ringtone in the 'notification' category. -->
11     <!-- NOTE: This preference will be enabled only when the checkbox above is checked. -->
12     <!-- NOTE: RingtonePreference's summary should be set to its value by the activity code. -->
13     <RingtonePreference
14         android:dependency="notifications_new_message"
15         android:key="notifications_new_message_ringtone"
16         android:title="@string/pref_title_ringtone"
17         android:ringtoneType="notification"
18         android:defaultValue="content://settings/system/notification_sound" />
20     <!-- NOTE: This preference will be enabled only when the checkbox above is checked. -->
21     <CheckBoxPreference
22         android:dependency="notifications_new_message"
23         android:key="notifications_new_message_vibrate"
24         android:title="@string/pref_title_vibrate"
25         android:defaultValue="true" />
27 </PreferenceScreen>