Dan Sandler | 347f944 | 2014-03-11 01:32:47 -0400 | [diff] [blame] | 1 | <?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 Meglio | e6b336d | 2014-07-10 14:59:46 -0700 | [diff] [blame] | 18 | xmlns:settings="http://schemas.android.com/apk/res/com.android.settings" |
Dan Sandler | 347f944 | 2014-03-11 01:32:47 -0400 | [diff] [blame] | 19 | android:title="@string/notification_settings" |
| 20 | android:key="notification_settings" |
Fabrice Di Meglio | e6b336d | 2014-07-10 14:59:46 -0700 | [diff] [blame] | 21 | settings:keywords="@string/keywords_sounds_and_notifications"> |
Dan Sandler | 347f944 | 2014-03-11 01:32:47 -0400 | [diff] [blame] | 22 | |
John Spurlock | 07f7efb | 2014-07-05 12:57:08 -0400 | [diff] [blame] | 23 | <PreferenceCategory |
| 24 | android:key="sound" |
| 25 | android:title="@string/sound_settings" > |
John Spurlock | 81bef1d7 | 2014-05-16 15:50:13 -0400 | [diff] [blame] | 26 | |
John Spurlock | 07f7efb | 2014-07-05 12:57:08 -0400 | [diff] [blame] | 27 | <!-- Media volume --> |
| 28 | <com.android.settings.notification.VolumeSeekBarPreference |
| 29 | android:key="media_volume" |
John Spurlock | fdebfc3 | 2014-11-14 14:32:01 -0500 | [diff] [blame^] | 30 | android:icon="@*android:drawable/ic_audio_vol" |
John Spurlock | 07f7efb | 2014-07-05 12:57:08 -0400 | [diff] [blame] | 31 | android:title="@string/media_volume_option_title" /> |
John Spurlock | 81bef1d7 | 2014-05-16 15:50:13 -0400 | [diff] [blame] | 32 | |
John Spurlock | 07f7efb | 2014-07-05 12:57:08 -0400 | [diff] [blame] | 33 | <!-- Alarm volume --> |
| 34 | <com.android.settings.notification.VolumeSeekBarPreference |
| 35 | android:key="alarm_volume" |
John Spurlock | fdebfc3 | 2014-11-14 14:32:01 -0500 | [diff] [blame^] | 36 | android:icon="@*android:drawable/ic_audio_alarm" |
John Spurlock | 07f7efb | 2014-07-05 12:57:08 -0400 | [diff] [blame] | 37 | android:title="@string/alarm_volume_option_title" /> |
John Spurlock | 81bef1d7 | 2014-05-16 15:50:13 -0400 | [diff] [blame] | 38 | |
John Spurlock | 07f7efb | 2014-07-05 12:57:08 -0400 | [diff] [blame] | 39 | <!-- Ring volume --> |
| 40 | <com.android.settings.notification.VolumeSeekBarPreference |
| 41 | android:key="ring_volume" |
John Spurlock | fdebfc3 | 2014-11-14 14:32:01 -0500 | [diff] [blame^] | 42 | android:icon="@*android:drawable/ic_audio_ring_notif" |
John Spurlock | 07f7efb | 2014-07-05 12:57:08 -0400 | [diff] [blame] | 43 | android:title="@string/ring_volume_option_title" /> |
John Spurlock | 57c713d | 2014-05-27 11:10:52 -0400 | [diff] [blame] | 44 | |
John Spurlock | 07f7efb | 2014-07-05 12:57:08 -0400 | [diff] [blame] | 45 | <!-- Notification volume --> |
| 46 | <com.android.settings.notification.VolumeSeekBarPreference |
| 47 | android:key="notification_volume" |
John Spurlock | fdebfc3 | 2014-11-14 14:32:01 -0500 | [diff] [blame^] | 48 | android:icon="@*android:drawable/ic_audio_ring_notif" |
John Spurlock | 07f7efb | 2014-07-05 12:57:08 -0400 | [diff] [blame] | 49 | android:title="@string/notification_volume_option_title" /> |
John Spurlock | 81bef1d7 | 2014-05-16 15:50:13 -0400 | [diff] [blame] | 50 | |
John Spurlock | 07f7efb | 2014-07-05 12:57:08 -0400 | [diff] [blame] | 51 | <!-- 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 Spurlock | 81bef1d7 | 2014-05-16 15:50:13 -0400 | [diff] [blame] | 56 | |
John Spurlock | 07f7efb | 2014-07-05 12:57:08 -0400 | [diff] [blame] | 57 | <!-- Interruptions --> |
| 58 | <PreferenceScreen |
| 59 | android:key="zen_mode" |
| 60 | android:title="@string/zen_mode_settings_title" |
Fabrice Di Meglio | e6b336d | 2014-07-10 14:59:46 -0700 | [diff] [blame] | 61 | settings:keywords="@string/keywords_sounds_and_notifications_interruptions" |
John Spurlock | 07f7efb | 2014-07-05 12:57:08 -0400 | [diff] [blame] | 62 | android:fragment="com.android.settings.notification.ZenModeSettings" /> |
John Spurlock | 81bef1d7 | 2014-05-16 15:50:13 -0400 | [diff] [blame] | 63 | |
John Spurlock | 07f7efb | 2014-07-05 12:57:08 -0400 | [diff] [blame] | 64 | <!-- 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 Sandler | 347f944 | 2014-03-11 01:32:47 -0400 | [diff] [blame] | 71 | |
John Spurlock | 07f7efb | 2014-07-05 12:57:08 -0400 | [diff] [blame] | 72 | <!-- 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 Sandler | 347f944 | 2014-03-11 01:32:47 -0400 | [diff] [blame] | 79 | |
John Spurlock | 07f7efb | 2014-07-05 12:57:08 -0400 | [diff] [blame] | 80 | <!-- 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 Sandler | 347f944 | 2014-03-11 01:32:47 -0400 | [diff] [blame] | 86 | |
John Spurlock | 07f7efb | 2014-07-05 12:57:08 -0400 | [diff] [blame] | 87 | </PreferenceCategory> |
Dan Sandler | 347f944 | 2014-03-11 01:32:47 -0400 | [diff] [blame] | 88 | |
John Spurlock | 07f7efb | 2014-07-05 12:57:08 -0400 | [diff] [blame] | 89 | <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 Spurlock | 802ddf9 | 2014-07-18 11:51:13 -0400 | [diff] [blame] | 111 | android:fragment="com.android.settings.notification.NotificationAppList" /> |
John Spurlock | 07f7efb | 2014-07-05 12:57:08 -0400 | [diff] [blame] | 112 | |
| 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 Sandler | 347f944 | 2014-03-11 01:32:47 -0400 | [diff] [blame] | 121 | |
| 122 | </PreferenceScreen> |