blob: e5dda19080e85447ce7b36439b46b092d65d8da3 [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"
Fabrice Di Meglioe6b336d2014-07-10 14:59:46 -070018 xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
Dan Sandler347f9442014-03-11 01:32:47 -040019 android:title="@string/notification_settings"
20 android:key="notification_settings"
Fabrice Di Meglioe6b336d2014-07-10 14:59:46 -070021 settings:keywords="@string/keywords_sounds_and_notifications">
Dan Sandler347f9442014-03-11 01:32:47 -040022
John Spurlock07f7efb2014-07-05 12:57:08 -040023 <PreferenceCategory
24 android:key="sound"
25 android:title="@string/sound_settings" >
John Spurlock81bef1d72014-05-16 15:50:13 -040026
John Spurlock07f7efb2014-07-05 12:57:08 -040027 <!-- Media volume -->
28 <com.android.settings.notification.VolumeSeekBarPreference
29 android:key="media_volume"
John Spurlockfdebfc32014-11-14 14:32:01 -050030 android:icon="@*android:drawable/ic_audio_vol"
John Spurlock07f7efb2014-07-05 12:57:08 -040031 android:title="@string/media_volume_option_title" />
John Spurlock81bef1d72014-05-16 15:50:13 -040032
John Spurlock07f7efb2014-07-05 12:57:08 -040033 <!-- Alarm volume -->
34 <com.android.settings.notification.VolumeSeekBarPreference
35 android:key="alarm_volume"
John Spurlockfdebfc32014-11-14 14:32:01 -050036 android:icon="@*android:drawable/ic_audio_alarm"
John Spurlock07f7efb2014-07-05 12:57:08 -040037 android:title="@string/alarm_volume_option_title" />
John Spurlock81bef1d72014-05-16 15:50:13 -040038
John Spurlock07f7efb2014-07-05 12:57:08 -040039 <!-- Ring volume -->
40 <com.android.settings.notification.VolumeSeekBarPreference
41 android:key="ring_volume"
John Spurlockfdebfc32014-11-14 14:32:01 -050042 android:icon="@*android:drawable/ic_audio_ring_notif"
John Spurlock07f7efb2014-07-05 12:57:08 -040043 android:title="@string/ring_volume_option_title" />
John Spurlock57c713d2014-05-27 11:10:52 -040044
John Spurlock07f7efb2014-07-05 12:57:08 -040045 <!-- Notification volume -->
46 <com.android.settings.notification.VolumeSeekBarPreference
47 android:key="notification_volume"
John Spurlockfdebfc32014-11-14 14:32:01 -050048 android:icon="@*android:drawable/ic_audio_ring_notif"
John Spurlock07f7efb2014-07-05 12:57:08 -040049 android:title="@string/notification_volume_option_title" />
John Spurlock81bef1d72014-05-16 15:50:13 -040050
John Spurlock07f7efb2014-07-05 12:57:08 -040051 <!-- Also vibrate for calls -->
52 <SwitchPreference
53 android:key="vibrate_when_ringing"
54 android:title="@string/vibrate_when_ringing_title"
55 android:persistent="false" />
John Spurlock81bef1d72014-05-16 15:50:13 -040056
John Spurlock07f7efb2014-07-05 12:57:08 -040057 <!-- Interruptions -->
58 <PreferenceScreen
59 android:key="zen_mode"
60 android:title="@string/zen_mode_settings_title"
Fabrice Di Meglioe6b336d2014-07-10 14:59:46 -070061 settings:keywords="@string/keywords_sounds_and_notifications_interruptions"
John Spurlock07f7efb2014-07-05 12:57:08 -040062 android:fragment="com.android.settings.notification.ZenModeSettings" />
John Spurlock81bef1d72014-05-16 15:50:13 -040063
John Spurlock07f7efb2014-07-05 12:57:08 -040064 <!-- Phone ringtone -->
65 <com.android.settings.DefaultRingtonePreference
66 android:key="ringtone"
67 android:title="@string/ringtone_title"
68 android:dialogTitle="@string/ringtone_title"
69 android:persistent="false"
70 android:ringtoneType="ringtone" />
Dan Sandler347f9442014-03-11 01:32:47 -040071
John Spurlock07f7efb2014-07-05 12:57:08 -040072 <!-- Default notification ringtone -->
73 <com.android.settings.DefaultRingtonePreference
74 android:key="notification_ringtone"
75 android:title="@string/notification_ringtone_title"
76 android:dialogTitle="@string/notification_ringtone_title"
77 android:persistent="false"
78 android:ringtoneType="notification" />
Dan Sandler347f9442014-03-11 01:32:47 -040079
John Spurlock07f7efb2014-07-05 12:57:08 -040080 <!-- Other sounds -->
81 <Preference
82 android:key="other_sounds"
83 android:title="@string/other_sound_settings"
84 android:persistent="false"
85 android:fragment="com.android.settings.notification.OtherSoundSettings" />
Dan Sandler347f9442014-03-11 01:32:47 -040086
John Spurlock07f7efb2014-07-05 12:57:08 -040087 </PreferenceCategory>
Dan Sandler347f9442014-03-11 01:32:47 -040088
John Spurlock07f7efb2014-07-05 12:57:08 -040089 <PreferenceCategory
90 android:key="notification"
91 android:title="@string/notification_section_header" >
92
93 <!-- Pulse notification light -->
94 <SwitchPreference
95 android:key="notification_pulse"
96 android:title="@string/notification_pulse_title"
97 android:switchTextOff=""
98 android:switchTextOn=""
99 android:persistent="false" />
100
101 <!-- When device is locked -->
102 <com.android.settings.notification.DropDownPreference
103 android:key="lock_screen_notifications"
104 android:title="@string/lock_screen_notifications_title"
105 android:persistent="false" />
106
107 <!-- App notifications -->
108 <PreferenceScreen
109 android:key="app_notifications"
110 android:title="@string/app_notifications_title"
John Spurlock802ddf92014-07-18 11:51:13 -0400111 android:fragment="com.android.settings.notification.NotificationAppList" />
John Spurlock07f7efb2014-07-05 12:57:08 -0400112
113 <!-- Notification access -->
114 <Preference
115 android:key="manage_notification_access"
116 android:title="@string/manage_notification_access_title"
117 android:persistent="false"
118 android:fragment="com.android.settings.notification.NotificationAccessSettings" />
119
120 </PreferenceCategory>
Dan Sandler347f9442014-03-11 01:32:47 -0400121
122</PreferenceScreen>