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" |
| 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 Spurlock | 81bef1d7 | 2014-05-16 15:50:13 -0400 | [diff] [blame^] | 22 | <!-- Media volume --> |
| 23 | <com.android.settings.notification.VolumeSeekBarPreference |
| 24 | android:key="media_volume" |
| 25 | android:icon="@*android:drawable/ic_audio_vol" |
| 26 | android:title="@string/media_volume_option_title" /> |
| 27 | |
| 28 | <!-- Alarm volume --> |
| 29 | <com.android.settings.notification.VolumeSeekBarPreference |
| 30 | android:key="alarm_volume" |
| 31 | android:icon="@*android:drawable/ic_audio_alarm" |
| 32 | android:title="@string/alarm_volume_option_title" /> |
| 33 | |
| 34 | <!-- Ring volume --> |
| 35 | <com.android.settings.notification.VolumeSeekBarPreference |
| 36 | android:key="ring_volume" |
| 37 | android:icon="@*android:drawable/ic_audio_ring_notif" |
| 38 | android:title="@string/ring_volume_option_title" /> |
| 39 | |
| 40 | <!-- Do not disturb --> |
| 41 | <PreferenceScreen |
| 42 | android:key="zen_mode" |
| 43 | android:title="@string/zen_mode_settings_title" |
| 44 | android:fragment="com.android.settings.notification.ZenModeSettings" /> |
| 45 | |
| 46 | <!-- When calls and notifications arrive --> |
| 47 | <com.android.settings.notification.DropDownPreference |
| 48 | android:key="ringer_mode" |
| 49 | android:title="@string/ringer_mode_title" |
| 50 | android:persistent="false" /> |
| 51 | |
| 52 | <!-- Phone ringtone --> |
John Spurlock | 4a35051 | 2014-04-08 14:08:21 -0400 | [diff] [blame] | 53 | <com.android.settings.DefaultRingtonePreference |
John Spurlock | 81bef1d7 | 2014-05-16 15:50:13 -0400 | [diff] [blame^] | 54 | android:key="ringtone" |
| 55 | android:title="@string/ringtone_title" |
| 56 | android:dialogTitle="@string/ringtone_title" |
| 57 | android:persistent="false" |
| 58 | android:ringtoneType="ringtone" /> |
| 59 | |
| 60 | <!-- Default notification ringtone --> |
| 61 | <com.android.settings.DefaultRingtonePreference |
| 62 | android:key="notification_ringtone" |
| 63 | android:title="@string/notification_ringtone_title" |
| 64 | android:dialogTitle="@string/notification_ringtone_title" |
John Spurlock | 4a35051 | 2014-04-08 14:08:21 -0400 | [diff] [blame] | 65 | android:persistent="false" |
| 66 | android:ringtoneType="notification" /> |
Dan Sandler | 347f944 | 2014-03-11 01:32:47 -0400 | [diff] [blame] | 67 | |
John Spurlock | 81bef1d7 | 2014-05-16 15:50:13 -0400 | [diff] [blame^] | 68 | <!-- Vibrate when ringing --> |
| 69 | <SwitchPreference |
| 70 | android:key="vibrate_when_ringing" |
| 71 | android:title="@string/vibrate_when_ringing_title" |
| 72 | android:switchTextOff="" |
| 73 | android:switchTextOn="" |
John Spurlock | 4a35051 | 2014-04-08 14:08:21 -0400 | [diff] [blame] | 74 | android:persistent="false" /> |
Dan Sandler | 347f944 | 2014-03-11 01:32:47 -0400 | [diff] [blame] | 75 | |
John Spurlock | 81bef1d7 | 2014-05-16 15:50:13 -0400 | [diff] [blame^] | 76 | <!-- Showing notifications --> |
| 77 | <Preference |
| 78 | android:key="showing_notifications" |
| 79 | android:title="@string/notification_display_settings" |
| 80 | android:persistent="false" |
| 81 | android:fragment="com.android.settings.notification.NotificationDisplaySettings" /> |
Dan Sandler | 347f944 | 2014-03-11 01:32:47 -0400 | [diff] [blame] | 82 | |
John Spurlock | 81bef1d7 | 2014-05-16 15:50:13 -0400 | [diff] [blame^] | 83 | <!-- Touch sounds --> |
| 84 | <Preference |
| 85 | android:key="touch_sounds" |
| 86 | android:title="@string/touch_sound_settings" |
| 87 | android:persistent="false" |
| 88 | android:fragment="com.android.settings.notification.TouchSoundSettings" /> |
Dan Sandler | 347f944 | 2014-03-11 01:32:47 -0400 | [diff] [blame] | 89 | |
John Spurlock | 81bef1d7 | 2014-05-16 15:50:13 -0400 | [diff] [blame^] | 90 | <!-- Notification access --> |
Dan Sandler | 347f944 | 2014-03-11 01:32:47 -0400 | [diff] [blame] | 91 | <Preference |
John Spurlock | 4a35051 | 2014-04-08 14:08:21 -0400 | [diff] [blame] | 92 | android:key="manage_notification_access" |
John Spurlock | 81bef1d7 | 2014-05-16 15:50:13 -0400 | [diff] [blame^] | 93 | android:title="@string/manage_notification_access_title" |
John Spurlock | 4a35051 | 2014-04-08 14:08:21 -0400 | [diff] [blame] | 94 | android:persistent="false" |
| 95 | android:fragment="com.android.settings.notification.NotificationAccessSettings" /> |
Dan Sandler | 347f944 | 2014-03-11 01:32:47 -0400 | [diff] [blame] | 96 | |
| 97 | </PreferenceScreen> |