Julia Reynolds | b5ea53a | 2020-01-08 12:27:08 -0500 | [diff] [blame] | 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" |
Julia Reynolds | b5ea53a | 2020-01-08 12:27:08 -0500 | [diff] [blame] | 21 | android:title="@string/zen_category_people" > |
| 22 | |
Beverly | e65db31 | 2020-03-19 16:58:20 -0400 | [diff] [blame] | 23 | <!-- Conversations --> |
Julia Reynolds | b5ea53a | 2020-01-08 12:27:08 -0500 | [diff] [blame] | 24 | <PreferenceCategory |
Beverly | e65db31 | 2020-03-19 16:58:20 -0400 | [diff] [blame] | 25 | android:key="zen_mode_settings_category_conversations" |
| 26 | android:title="@string/zen_mode_conversations_section_title"> |
Julia Reynolds | b5ea53a | 2020-01-08 12:27:08 -0500 | [diff] [blame] | 27 | |
Beverly | e646b28 | 2020-04-02 12:06:49 -0400 | [diff] [blame] | 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 | |
Julia Reynolds | b5ea53a | 2020-01-08 12:27:08 -0500 | [diff] [blame] | 34 | <Preference |
Julia Reynolds | 7c5ac8f | 2020-01-30 08:29:39 -0500 | [diff] [blame] | 35 | android:key="zen_mode_conversations" |
| 36 | android:title="@string/zen_mode_conversations_title" |
Beverly | e65db31 | 2020-03-19 16:58:20 -0400 | [diff] [blame] | 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"/> |
Julia Reynolds | b5ea53a | 2020-01-08 12:27:08 -0500 | [diff] [blame] | 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> |