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 | |
| 22 | <PreferenceCategory |
| 23 | android:key="category_general" |
| 24 | android:title="@string/notification_settings_general"> |
| 25 | |
| 26 | <com.android.settings.DefaultRingtonePreference |
| 27 | android:key="notification_sound" |
| 28 | android:title="@string/notification_sound_title" |
| 29 | android:dialogTitle="@string/notification_sound_dialog_title" |
| 30 | android:persistent="false" |
| 31 | android:ringtoneType="notification" /> |
| 32 | |
| 33 | <CheckBoxPreference |
| 34 | android:key="notification_pulse" |
| 35 | android:title="@string/notification_pulse_title" |
| 36 | android:persistent="false" /> |
| 37 | |
| 38 | <CheckBoxPreference |
| 39 | android:key="heads_up" |
| 40 | android:title="@string/heads_up_enabled_title" |
| 41 | android:summary="@string/heads_up_enabled_summary" |
| 42 | android:persistent="false" /> |
| 43 | |
| 44 | <PreferenceScreen |
| 45 | android:key="zen_mode" |
| 46 | android:title="@string/title_zen_mode" |
| 47 | android:fragment="com.android.settings.ZenModeSettings" /> |
| 48 | |
| 49 | </PreferenceCategory> |
| 50 | |
| 51 | <PreferenceCategory |
| 52 | android:key="category_security" |
| 53 | android:title="@string/notification_settings_security"> |
| 54 | |
| 55 | <CheckBoxPreference |
| 56 | android:key="toggle_lock_screen_notifications" |
| 57 | android:title="@string/lock_screen_notifications" |
| 58 | android:summaryOff="@string/lock_screen_notifications_summary_off" |
| 59 | android:summaryOn="@string/lock_screen_notifications_summary_on" |
| 60 | android:persistent="false" /> |
| 61 | |
| 62 | <Preference |
| 63 | android:key="manage_notification_access" |
| 64 | android:title="@string/manage_notification_access" |
| 65 | android:persistent="false" |
| 66 | android:fragment="com.android.settings.NotificationAccessSettings"/> |
| 67 | |
| 68 | </PreferenceCategory> |
| 69 | |
| 70 | <!-- |
| 71 | <PreferenceCategory |
| 72 | android:key="category_tweaks" |
| 73 | android:title="@string/notification_settings_tweaks"/> |
| 74 | |
| 75 | <Preference |
| 76 | android:title="Coming soon" |
| 77 | /> |
| 78 | |
| 79 | <PreferenceCategory |
| 80 | android:key="category_apps" |
| 81 | android:title="@string/notification_settings_apps"/> |
| 82 | |
| 83 | <Preference |
| 84 | android:title="Coming soon" |
| 85 | /> |
| 86 | --> |
| 87 | |
| 88 | </PreferenceScreen> |