blob: ca41276e638fdd8c9661998f35db0906dfd54371 [file] [log] [blame]
Julia Reynolds6f526fc2015-11-19 11:33:11 -05001<?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 Reynolds9dbb20f2015-11-23 08:58:49 -050021 <!-- Importance -->
Andrei Stingaceanuda493132016-02-01 15:40:53 +000022 <com.android.settingslib.RestrictedPreference
Julia Reynoldsa7accd22016-01-27 13:37:15 -050023 android:key="importance_title"
24 android:title="@string/notification_importance_title"
25 android:order="1" />
Julia Reynolds9dbb20f2015-11-23 08:58:49 -050026 <com.android.settings.notification.ImportanceSeekBarPreference
27 android:key="importance"
Julia Reynoldsa7accd22016-01-27 13:37:15 -050028 android:order="2" />
Julia Reynolds9dbb20f2015-11-23 08:58:49 -050029
Julia Reynoldsa7accd22016-01-27 13:37:15 -050030 <com.android.settings.applications.LayoutPreference
31 android:key="importance_reset_button"
32 android:order="3"
33 android:layout="@layout/two_buttons_panel" />
Julia Reynolds6f526fc2015-11-19 11:33:11 -050034
35 <!-- Sensitive -->
Julia Reynoldsa7accd22016-01-27 13:37:15 -050036 <com.android.settingslib.RestrictedSwitchPreference
Julia Reynolds6f526fc2015-11-19 11:33:11 -050037 android:key="sensitive"
38 android:title="@string/app_notification_sensitive_title"
39 android:summary="@string/app_notification_sensitive_summary"
Julia Reynoldsa7accd22016-01-27 13:37:15 -050040 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 Reynolds6f526fc2015-11-19 11:33:11 -050048
49</PreferenceScreen>