blob: af9ab6c4c302013806993fb44038060d888f4ffc [file] [log] [blame]
Dan Sandler347f9442014-03-11 01:32:47 -04001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2014 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 android:title="@string/notification_settings"
19 android:key="notification_settings"
20 xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
21
John Spurlock07f7efb2014-07-05 12:57:08 -040022 <PreferenceCategory
23 android:key="sound"
24 android:title="@string/sound_settings" >
John Spurlock81bef1d72014-05-16 15:50:13 -040025
John Spurlock07f7efb2014-07-05 12:57:08 -040026 <!-- Media volume -->
27 <com.android.settings.notification.VolumeSeekBarPreference
28 android:key="media_volume"
29 android:icon="@*android:drawable/ic_audio_vol"
30 android:title="@string/media_volume_option_title" />
John Spurlock81bef1d72014-05-16 15:50:13 -040031
John Spurlock07f7efb2014-07-05 12:57:08 -040032 <!-- Alarm volume -->
33 <com.android.settings.notification.VolumeSeekBarPreference
34 android:key="alarm_volume"
35 android:icon="@*android:drawable/ic_audio_alarm"
36 android:title="@string/alarm_volume_option_title" />
John Spurlock81bef1d72014-05-16 15:50:13 -040037
John Spurlock07f7efb2014-07-05 12:57:08 -040038 <!-- Ring volume -->
39 <com.android.settings.notification.VolumeSeekBarPreference
40 android:key="ring_volume"
41 android:icon="@*android:drawable/ic_audio_ring_notif"
42 android:title="@string/ring_volume_option_title" />
John Spurlock57c713d2014-05-27 11:10:52 -040043
John Spurlock07f7efb2014-07-05 12:57:08 -040044 <!-- Notification volume -->
45 <com.android.settings.notification.VolumeSeekBarPreference
46 android:key="notification_volume"
47 android:icon="@*android:drawable/ic_audio_ring_notif"
48 android:title="@string/notification_volume_option_title" />
John Spurlock81bef1d72014-05-16 15:50:13 -040049
John Spurlock07f7efb2014-07-05 12:57:08 -040050 <!-- Also vibrate for calls -->
51 <SwitchPreference
52 android:key="vibrate_when_ringing"
53 android:title="@string/vibrate_when_ringing_title"
54 android:persistent="false" />
John Spurlock81bef1d72014-05-16 15:50:13 -040055
John Spurlock07f7efb2014-07-05 12:57:08 -040056 <!-- Interruptions -->
57 <PreferenceScreen
58 android:key="zen_mode"
59 android:title="@string/zen_mode_settings_title"
60 android:fragment="com.android.settings.notification.ZenModeSettings" />
John Spurlock81bef1d72014-05-16 15:50:13 -040061
John Spurlock07f7efb2014-07-05 12:57:08 -040062 <!-- Phone ringtone -->
63 <com.android.settings.DefaultRingtonePreference
64 android:key="ringtone"
65 android:title="@string/ringtone_title"
66 android:dialogTitle="@string/ringtone_title"
67 android:persistent="false"
68 android:ringtoneType="ringtone" />
Dan Sandler347f9442014-03-11 01:32:47 -040069
John Spurlock07f7efb2014-07-05 12:57:08 -040070 <!-- Default notification ringtone -->
71 <com.android.settings.DefaultRingtonePreference
72 android:key="notification_ringtone"
73 android:title="@string/notification_ringtone_title"
74 android:dialogTitle="@string/notification_ringtone_title"
75 android:persistent="false"
76 android:ringtoneType="notification" />
Dan Sandler347f9442014-03-11 01:32:47 -040077
John Spurlock07f7efb2014-07-05 12:57:08 -040078 <!-- Other sounds -->
79 <Preference
80 android:key="other_sounds"
81 android:title="@string/other_sound_settings"
82 android:persistent="false"
83 android:fragment="com.android.settings.notification.OtherSoundSettings" />
Dan Sandler347f9442014-03-11 01:32:47 -040084
John Spurlock07f7efb2014-07-05 12:57:08 -040085 </PreferenceCategory>
Dan Sandler347f9442014-03-11 01:32:47 -040086
John Spurlock07f7efb2014-07-05 12:57:08 -040087 <PreferenceCategory
88 android:key="notification"
89 android:title="@string/notification_section_header" >
90
91 <!-- Pulse notification light -->
92 <SwitchPreference
93 android:key="notification_pulse"
94 android:title="@string/notification_pulse_title"
95 android:switchTextOff=""
96 android:switchTextOn=""
97 android:persistent="false" />
98
99 <!-- When device is locked -->
100 <com.android.settings.notification.DropDownPreference
101 android:key="lock_screen_notifications"
102 android:title="@string/lock_screen_notifications_title"
103 android:persistent="false" />
104
105 <!-- App notifications -->
106 <PreferenceScreen
107 android:key="app_notifications"
108 android:title="@string/app_notifications_title"
109 android:fragment="com.android.settings.notification.AppNotificationSettings" />
110
111 <!-- Notification access -->
112 <Preference
113 android:key="manage_notification_access"
114 android:title="@string/manage_notification_access_title"
115 android:persistent="false"
116 android:fragment="com.android.settings.notification.NotificationAccessSettings" />
117
118 </PreferenceCategory>
Dan Sandler347f9442014-03-11 01:32:47 -0400119
120</PreferenceScreen>