Julia Reynolds | 6f526fc | 2015-11-19 11:33:11 -0500 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2015 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/topic_notifications_title" |
| 19 | android:key="topic_notification_settings"> |
| 20 | |
Julia Reynolds | 9dbb20f | 2015-11-23 08:58:49 -0500 | [diff] [blame] | 21 | <!-- Importance --> |
Andrei Stingaceanu | da49313 | 2016-02-01 15:40:53 +0000 | [diff] [blame] | 22 | <com.android.settingslib.RestrictedPreference |
Julia Reynolds | a7accd2 | 2016-01-27 13:37:15 -0500 | [diff] [blame] | 23 | android:key="importance_title" |
| 24 | android:title="@string/notification_importance_title" |
| 25 | android:order="1" /> |
Julia Reynolds | 9dbb20f | 2015-11-23 08:58:49 -0500 | [diff] [blame] | 26 | <com.android.settings.notification.ImportanceSeekBarPreference |
| 27 | android:key="importance" |
Julia Reynolds | a7accd2 | 2016-01-27 13:37:15 -0500 | [diff] [blame] | 28 | android:order="2" /> |
Julia Reynolds | 9dbb20f | 2015-11-23 08:58:49 -0500 | [diff] [blame] | 29 | |
Julia Reynolds | a7accd2 | 2016-01-27 13:37:15 -0500 | [diff] [blame] | 30 | <com.android.settings.applications.LayoutPreference |
| 31 | android:key="importance_reset_button" |
| 32 | android:order="3" |
| 33 | android:layout="@layout/two_buttons_panel" /> |
Julia Reynolds | 6f526fc | 2015-11-19 11:33:11 -0500 | [diff] [blame] | 34 | |
| 35 | <!-- Sensitive --> |
Julia Reynolds | a7accd2 | 2016-01-27 13:37:15 -0500 | [diff] [blame] | 36 | <com.android.settingslib.RestrictedSwitchPreference |
Julia Reynolds | 6f526fc | 2015-11-19 11:33:11 -0500 | [diff] [blame] | 37 | android:key="sensitive" |
| 38 | android:title="@string/app_notification_sensitive_title" |
| 39 | android:summary="@string/app_notification_sensitive_summary" |
Julia Reynolds | a7accd2 | 2016-01-27 13:37:15 -0500 | [diff] [blame] | 40 | android:order="4" /> |
| 41 | |
| 42 | <!-- Bypass DND --> |
| 43 | <com.android.settingslib.RestrictedSwitchPreference |
| 44 | android:key="bypass_dnd" |
| 45 | android:title="@string/app_notification_override_dnd_title" |
| 46 | android:summary="@string/app_notification_override_dnd_summary" |
| 47 | android:order="5" /> |
Julia Reynolds | 6f526fc | 2015-11-19 11:33:11 -0500 | [diff] [blame] | 48 | |
| 49 | </PreferenceScreen> |