• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?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"
21    android:title="@string/zen_category_people" >
22
23   <!-- Conversations -->
24   <PreferenceCategory
25       android:key="zen_mode_settings_category_conversations"
26       android:title="@string/zen_mode_conversations_section_title">
27
28      <!-- 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
34      <Preference
35          android:key="zen_mode_conversations"
36          android:title="@string/zen_mode_conversations_title"
37          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"/>
54   </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>
60