blob: 1db438871be577c108f31b30a179c1c3e6d6a05d [file] [log] [blame]
Julia Reynoldsb5ea53a2020-01-08 12:27:08 -05001<?xml version="1.0" encoding="utf-8"?>
2<!--
3 Copyright (C) 2020 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 xmlns:settings="http://schemas.android.com/apk/res-auto"
Julia Reynoldsb5ea53a2020-01-08 12:27:08 -050021 android:title="@string/zen_category_people" >
22
Beverlye65db312020-03-19 16:58:20 -040023 <!-- Conversations -->
Julia Reynoldsb5ea53a2020-01-08 12:27:08 -050024 <PreferenceCategory
Beverlye65db312020-03-19 16:58:20 -040025 android:key="zen_mode_settings_category_conversations"
26 android:title="@string/zen_mode_conversations_section_title">
Julia Reynoldsb5ea53a2020-01-08 12:27:08 -050027
Beverlye646b282020-04-02 12:06:49 -040028 <!-- Senders image -->
29 <com.android.settingslib.widget.LayoutPreference
30 android:key="zen_mode_conversations_image"
31 android:layout="@layout/zen_mode_senders_overlay_image"
32 android:selectable="false"/>
33
Julia Reynoldsb5ea53a2020-01-08 12:27:08 -050034 <Preference
Julia Reynolds7c5ac8f2020-01-30 08:29:39 -050035 android:key="zen_mode_conversations"
36 android:title="@string/zen_mode_conversations_title"
Beverlye65db312020-03-19 16:58:20 -040037 android:fragment="com.android.settings.notification.zen.ZenModeConversationsSettings"/>
38 </PreferenceCategory>
39
40 <!-- Calls & Messages -->
41 <PreferenceCategory
42 android:key="zen_mode_people_calls_messages_section"
43 android:title="@string/zen_mode_people_calls_messages_section_title">
44
45 <Preference
46 android:key="zen_mode_people_calls"
47 android:title="@string/zen_mode_calls_title"
48 android:fragment="com.android.settings.notification.zen.ZenModeCallsSettings"/>
49
50 <Preference
51 android:key="zen_mode_people_messages"
52 android:title="@string/zen_mode_messages_title"
53 android:fragment="com.android.settings.notification.zen.ZenModeMessagesSettings"/>
Julia Reynoldsb5ea53a2020-01-08 12:27:08 -050054 </PreferenceCategory>
55
56 <!-- Footer that shows if user is put into alarms only or total silence mode by an app -->
57 <com.android.settingslib.widget.FooterPreference/>
58
59</PreferenceScreen>