1<?xml version="1.0" encoding="utf-8"?>
2<!--
3     Copyright (C) 2018 The Android Open Source Project
4
5     Licensed under the Apache License, Version 2.0 (the "License");
6     you may not use this file except in compliance with the License.
7     You may obtain a copy of the License at
8
9          http://www.apache.org/licenses/LICENSE-2.0
10
11     Unless required by applicable law or agreed to in writing, software
12     distributed under the License is distributed on an "AS IS" BASIS,
13     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14     See the License for the specific language governing permissions and
15     limitations under the License.
16-->
17
18<PreferenceScreen
19    xmlns:android="http://schemas.android.com/apk/res/android"
20    android:key="zen_mode_sound_vibration_settings_page"
21    android:title="@string/zen_category_exceptions" >
22
23    <PreferenceCategory
24        android:title="@string/zen_mode_settings_category"
25        android:key="zen_mode_settings_category_sound_vibration">
26
27        <!-- Calls -->
28        <Preference
29            android:key="zen_mode_calls_settings"
30            android:title="@string/zen_mode_calls"
31            android:fragment="com.android.settings.notification.ZenModeCallsSettings" />
32
33        <!-- Messages -->
34        <Preference
35            android:key="zen_mode_messages_settings"
36            android:title="@string/zen_mode_messages"
37            android:fragment="com.android.settings.notification.ZenModeMessagesSettings" />
38
39        <!-- Alarms -->
40        <SwitchPreference
41            android:key="zen_mode_alarms"
42            android:title="@string/zen_mode_alarms"/>
43
44        <!-- Media -->
45        <SwitchPreference
46            android:key="zen_mode_media"
47            android:title="@string/zen_mode_media"/>
48
49        <!-- System -->
50        <SwitchPreference
51            android:key="zen_mode_system"
52            android:title="@string/zen_mode_system"/>
53
54        <!-- Reminders -->
55        <SwitchPreference
56            android:key="zen_mode_reminders"
57            android:title="@string/zen_mode_reminders"/>
58
59        <!-- Events -->
60        <SwitchPreference
61            android:key="zen_mode_events"
62            android:title="@string/zen_mode_events"/>
63
64        <!-- Apps overriding DND -->
65        <Preference
66            android:key="zen_mode_bypassing_apps"
67            android:title="@string/zen_mode_bypassing_apps"
68            android:fragment="com.android.settings.notification.ZenModeBypassingAppsSettings"/>
69
70    </PreferenceCategory>
71
72    <com.android.settingslib.widget.FooterPreference/>
73
74</PreferenceScreen>
75