blob: 664c09a277661f92c3ba22b12379e4d10f3599f7 [file] [log] [blame]
Beverlyb9f38af2018-12-11 16:19:33 -05001<?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_custom_rule_configuration_page"
21 xmlns:settings="http://schemas.android.com/apk/res-auto"
22 android:title="@string/zen_mode_settings_title">
23
24 <PreferenceCategory
25 android:key="zen_custom_rule_configuration_category">
26 <!-- Calls -->
27 <Preference
28 android:key="zen_rule_calls_settings"
29 android:title="@string/zen_mode_calls" />
30
31 <!-- Messages -->
32 <Preference
33 android:key="zen_rule_messages_settings"
34 android:title="@string/zen_mode_messages" />
35
36 <!-- Alarms -->
37 <SwitchPreference
38 android:key="zen_rule_alarms"
Julia Reynoldsb5ea53a2020-01-08 12:27:08 -050039 android:title="@string/zen_mode_alarms"
40 android:summary="@string/zen_mode_alarms_summary"/>
Beverlyb9f38af2018-12-11 16:19:33 -050041
42 <!-- Media -->
43 <SwitchPreference
44 android:key="zen_rule_media"
Julia Reynoldsb5ea53a2020-01-08 12:27:08 -050045 android:title="@string/zen_mode_media"
46 android:summary="@string/zen_mode_media_summary"/>
Beverlyb9f38af2018-12-11 16:19:33 -050047
48 <!-- System -->
49 <SwitchPreference
50 android:key="zen_rule_system"
Julia Reynoldsb5ea53a2020-01-08 12:27:08 -050051 android:title="@string/zen_mode_system"
52 android:summary="@string/zen_mode_system_summary"/>
Beverlyb9f38af2018-12-11 16:19:33 -050053
54 <!-- Reminders -->
55 <SwitchPreference
56 android:key="zen_rule_reminders"
Julia Reynoldsb5ea53a2020-01-08 12:27:08 -050057 android:title="@string/zen_mode_reminders"
58 android:summary="@string/zen_mode_reminders_summary"/>
Beverlyb9f38af2018-12-11 16:19:33 -050059
60 <!-- Events -->
61 <SwitchPreference
62 android:key="zen_rule_events"
Julia Reynoldsb5ea53a2020-01-08 12:27:08 -050063 android:title="@string/zen_mode_events"
64 android:summary="@string/zen_mode_events_summary"/>
Beverlyb9f38af2018-12-11 16:19:33 -050065 </PreferenceCategory>
66
67 <Preference
68 android:key="zen_rule_notifications"
69 android:title="@string/zen_mode_restrict_notifications_title"
70 settings:allowDividerAbove="true"/>
71</PreferenceScreen>