Dan Sandler | 347f944 | 2014-03-11 01:32:47 -0400 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
Julia Reynolds | 8c0a423 | 2015-11-24 10:08:14 -0500 | [diff] [blame] | 2 | <!-- Copyright (C) 2015 The Android Open Source Project |
Dan Sandler | 347f944 | 2014-03-11 01:32:47 -0400 | [diff] [blame] | 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" |
Julia Reynolds | 8c0a423 | 2015-11-24 10:08:14 -0500 | [diff] [blame] | 19 | android:title="@string/sound_settings" |
| 20 | android:key="sound_settings" |
| 21 | settings:keywords="@string/keywords_sounds"> |
John Spurlock | 81bef1d7 | 2014-05-16 15:50:13 -0400 | [diff] [blame] | 22 | |
John Spurlock | 07f7efb | 2014-07-05 12:57:08 -0400 | [diff] [blame] | 23 | <!-- Media volume --> |
| 24 | <com.android.settings.notification.VolumeSeekBarPreference |
| 25 | android:key="media_volume" |
John Spurlock | 8be177b | 2015-04-16 11:03:38 -0400 | [diff] [blame] | 26 | android:icon="@*android:drawable/ic_audio_media" |
John Spurlock | 07f7efb | 2014-07-05 12:57:08 -0400 | [diff] [blame] | 27 | android:title="@string/media_volume_option_title" /> |
John Spurlock | 81bef1d7 | 2014-05-16 15:50:13 -0400 | [diff] [blame] | 28 | |
John Spurlock | 07f7efb | 2014-07-05 12:57:08 -0400 | [diff] [blame] | 29 | <!-- Alarm volume --> |
| 30 | <com.android.settings.notification.VolumeSeekBarPreference |
| 31 | android:key="alarm_volume" |
John Spurlock | fdebfc3 | 2014-11-14 14:32:01 -0500 | [diff] [blame] | 32 | android:icon="@*android:drawable/ic_audio_alarm" |
John Spurlock | 07f7efb | 2014-07-05 12:57:08 -0400 | [diff] [blame] | 33 | android:title="@string/alarm_volume_option_title" /> |
John Spurlock | 81bef1d7 | 2014-05-16 15:50:13 -0400 | [diff] [blame] | 34 | |
John Spurlock | 07f7efb | 2014-07-05 12:57:08 -0400 | [diff] [blame] | 35 | <!-- Ring volume --> |
| 36 | <com.android.settings.notification.VolumeSeekBarPreference |
| 37 | android:key="ring_volume" |
John Spurlock | fdebfc3 | 2014-11-14 14:32:01 -0500 | [diff] [blame] | 38 | android:icon="@*android:drawable/ic_audio_ring_notif" |
John Spurlock | 07f7efb | 2014-07-05 12:57:08 -0400 | [diff] [blame] | 39 | android:title="@string/ring_volume_option_title" /> |
John Spurlock | 57c713d | 2014-05-27 11:10:52 -0400 | [diff] [blame] | 40 | |
John Spurlock | 07f7efb | 2014-07-05 12:57:08 -0400 | [diff] [blame] | 41 | <!-- Notification volume --> |
| 42 | <com.android.settings.notification.VolumeSeekBarPreference |
| 43 | android:key="notification_volume" |
John Spurlock | fdebfc3 | 2014-11-14 14:32:01 -0500 | [diff] [blame] | 44 | android:icon="@*android:drawable/ic_audio_ring_notif" |
John Spurlock | 07f7efb | 2014-07-05 12:57:08 -0400 | [diff] [blame] | 45 | android:title="@string/notification_volume_option_title" /> |
John Spurlock | 81bef1d7 | 2014-05-16 15:50:13 -0400 | [diff] [blame] | 46 | |
John Spurlock | 07f7efb | 2014-07-05 12:57:08 -0400 | [diff] [blame] | 47 | <!-- Also vibrate for calls --> |
| 48 | <SwitchPreference |
| 49 | android:key="vibrate_when_ringing" |
Jason Monk | 31c7c32 | 2016-01-20 14:41:52 -0500 | [diff] [blame^] | 50 | android:title="@string/vibrate_when_ringing_title" /> |
John Spurlock | 81bef1d7 | 2014-05-16 15:50:13 -0400 | [diff] [blame] | 51 | |
Andy Hung | 0863ea4 | 2015-12-21 12:25:49 -0800 | [diff] [blame] | 52 | <!-- Master mono --> |
| 53 | <SwitchPreference |
| 54 | android:key="master_mono" |
| 55 | android:title="@string/master_mono_title" |
Andy Hung | 0863ea4 | 2015-12-21 12:25:49 -0800 | [diff] [blame] | 56 | android:summaryOn="@string/master_mono_on" |
| 57 | android:summaryOff="@string/master_mono_off" /> |
| 58 | |
John Spurlock | 07f7efb | 2014-07-05 12:57:08 -0400 | [diff] [blame] | 59 | <!-- Interruptions --> |
Sudheer Shanka | 682a916 | 2016-01-13 22:10:18 +0000 | [diff] [blame] | 60 | <com.android.settingslib.RestrictedPreference |
John Spurlock | 07f7efb | 2014-07-05 12:57:08 -0400 | [diff] [blame] | 61 | android:key="zen_mode" |
| 62 | android:title="@string/zen_mode_settings_title" |
Sudheer Shanka | ba1a68b | 2016-01-25 22:39:34 +0000 | [diff] [blame] | 63 | settings:useAdminDisabledSummary="true" |
Fabrice Di Meglio | e6b336d | 2014-07-10 14:59:46 -0700 | [diff] [blame] | 64 | settings:keywords="@string/keywords_sounds_and_notifications_interruptions" |
John Spurlock | 07f7efb | 2014-07-05 12:57:08 -0400 | [diff] [blame] | 65 | android:fragment="com.android.settings.notification.ZenModeSettings" /> |
John Spurlock | 81bef1d7 | 2014-05-16 15:50:13 -0400 | [diff] [blame] | 66 | |
John Spurlock | 07f7efb | 2014-07-05 12:57:08 -0400 | [diff] [blame] | 67 | <!-- Phone ringtone --> |
| 68 | <com.android.settings.DefaultRingtonePreference |
| 69 | android:key="ringtone" |
| 70 | android:title="@string/ringtone_title" |
| 71 | android:dialogTitle="@string/ringtone_title" |
John Spurlock | 07f7efb | 2014-07-05 12:57:08 -0400 | [diff] [blame] | 72 | android:ringtoneType="ringtone" /> |
Dan Sandler | 347f944 | 2014-03-11 01:32:47 -0400 | [diff] [blame] | 73 | |
John Spurlock | 07f7efb | 2014-07-05 12:57:08 -0400 | [diff] [blame] | 74 | <!-- Default notification ringtone --> |
| 75 | <com.android.settings.DefaultRingtonePreference |
| 76 | android:key="notification_ringtone" |
| 77 | android:title="@string/notification_ringtone_title" |
| 78 | android:dialogTitle="@string/notification_ringtone_title" |
John Spurlock | 07f7efb | 2014-07-05 12:57:08 -0400 | [diff] [blame] | 79 | android:ringtoneType="notification" /> |
Dan Sandler | 347f944 | 2014-03-11 01:32:47 -0400 | [diff] [blame] | 80 | |
Julia Reynolds | 193e7b0 | 2016-01-20 11:10:49 -0500 | [diff] [blame] | 81 | <!-- Default alarm ringtone --> |
| 82 | <com.android.settings.DefaultRingtonePreference |
| 83 | android:key="alarm_ringtone" |
| 84 | android:title="@string/alarm_ringtone_title" |
| 85 | android:dialogTitle="@string/alarm_ringtone_title" |
| 86 | android:persistent="false" |
| 87 | android:ringtoneType="alarm" /> |
| 88 | |
Sudheer Shanka | 682a916 | 2016-01-13 22:10:18 +0000 | [diff] [blame] | 89 | <com.android.settingslib.RestrictedPreference |
Julia Reynolds | 8c0a423 | 2015-11-24 10:08:14 -0500 | [diff] [blame] | 90 | android:key="cell_broadcast_settings" |
Sudheer Shanka | ba1a68b | 2016-01-25 22:39:34 +0000 | [diff] [blame] | 91 | android:title="@string/cell_broadcast_settings" |
| 92 | settings:useAdminDisabledSummary="true"> |
Julia Reynolds | 8c0a423 | 2015-11-24 10:08:14 -0500 | [diff] [blame] | 93 | <intent |
| 94 | android:action="android.intent.action.MAIN" |
| 95 | android:targetPackage="com.android.cellbroadcastreceiver" |
| 96 | android:targetClass="com.android.cellbroadcastreceiver.CellBroadcastSettings" /> |
Sudheer Shanka | 682a916 | 2016-01-13 22:10:18 +0000 | [diff] [blame] | 97 | </com.android.settingslib.RestrictedPreference> |
Julia Reynolds | 8c0a423 | 2015-11-24 10:08:14 -0500 | [diff] [blame] | 98 | |
John Spurlock | 07f7efb | 2014-07-05 12:57:08 -0400 | [diff] [blame] | 99 | <!-- Other sounds --> |
| 100 | <Preference |
| 101 | android:key="other_sounds" |
| 102 | android:title="@string/other_sound_settings" |
| 103 | android:persistent="false" |
| 104 | android:fragment="com.android.settings.notification.OtherSoundSettings" /> |
Dan Sandler | 347f944 | 2014-03-11 01:32:47 -0400 | [diff] [blame] | 105 | |
John Spurlock | cfe4aed | 2015-03-17 15:38:27 -0400 | [diff] [blame] | 106 | <!-- Cast --> |
| 107 | <PreferenceScreen |
| 108 | android:key="wifi_display" |
| 109 | android:title="@string/wifi_display_settings_title" |
| 110 | android:fragment="com.android.settings.wfd.WifiDisplaySettings" /> |
| 111 | |
Dan Sandler | 347f944 | 2014-03-11 01:32:47 -0400 | [diff] [blame] | 112 | </PreferenceScreen> |