1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2019 The Android Open Source Project 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15--> 16<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" 17 android:layout_width="wrap_content" 18 android:layout_height="wrap_content" 19 android:fadeScrollbars="false" 20 android:scrollIndicators="top|bottom"> 21 <LinearLayout 22 android:layout_width="match_parent" 23 android:layout_height="wrap_content" 24 android:orientation="vertical" 25 android:paddingStart="24dp"> 26 27 <LinearLayout 28 android:layout_width="match_parent" 29 android:layout_height="wrap_content" 30 android:orientation="vertical" 31 android:layout_marginTop="14dp"> 32 <TextView 33 android:id="@+id/zen_custom_settings_dialog_calls" 34 android:layout_width="match_parent" 35 android:layout_height="wrap_content" 36 android:text="@string/zen_mode_calls" /> 37 38 <TextView 39 android:id="@+id/zen_custom_settings_dialog_calls_allow" 40 android:layout_width="match_parent" 41 android:layout_height="wrap_content" 42 android:textAppearance="?android:attr/textAppearanceListItem" /> 43 </LinearLayout> 44 45 <LinearLayout 46 android:layout_width="match_parent" 47 android:layout_height="wrap_content" 48 android:orientation="vertical" 49 android:layout_marginTop="14dp"> 50 <TextView 51 android:id="@+id/zen_custom_settings_dialog_messages" 52 android:layout_width="match_parent" 53 android:layout_height="wrap_content" 54 android:text="@string/zen_mode_messages" /> 55 56 <TextView 57 android:id="@+id/zen_custom_settings_dialog_messages_allow" 58 android:layout_width="match_parent" 59 android:layout_height="wrap_content" 60 android:textAppearance="?android:attr/textAppearanceListItem" /> 61 </LinearLayout> 62 63 <LinearLayout 64 android:layout_width="match_parent" 65 android:layout_height="wrap_content" 66 android:orientation="vertical" 67 android:layout_marginTop="14dp"> 68 <TextView 69 android:id="@+id/zen_custom_settings_dialog_alarms" 70 android:layout_width="match_parent" 71 android:layout_height="wrap_content" 72 android:text="@string/zen_mode_alarms" /> 73 74 <TextView 75 android:id="@+id/zen_custom_settings_dialog_alarms_allow" 76 android:layout_width="match_parent" 77 android:layout_height="wrap_content" 78 android:textAppearance="?android:attr/textAppearanceListItem" /> 79 </LinearLayout> 80 81 <LinearLayout 82 android:layout_width="match_parent" 83 android:layout_height="wrap_content" 84 android:orientation="vertical" 85 android:layout_marginTop="14dp"> 86 <TextView 87 android:id="@+id/zen_custom_settings_dialog_media" 88 android:layout_width="match_parent" 89 android:layout_height="wrap_content" 90 android:text="@string/zen_mode_media" /> 91 92 <TextView 93 android:id="@+id/zen_custom_settings_dialog_media_allow" 94 android:layout_width="match_parent" 95 android:layout_height="wrap_content" 96 android:textAppearance="?android:attr/textAppearanceListItem" /> 97 </LinearLayout> 98 99 <LinearLayout 100 android:layout_width="match_parent" 101 android:layout_height="wrap_content" 102 android:orientation="vertical" 103 android:layout_marginTop="14dp"> 104 <TextView 105 android:id="@+id/zen_custom_settings_dialog_system" 106 android:layout_width="match_parent" 107 android:layout_height="wrap_content" 108 android:text="@string/zen_mode_system" /> 109 110 <TextView 111 android:id="@+id/zen_custom_settings_dialog_system_allow" 112 android:layout_width="match_parent" 113 android:layout_height="wrap_content" 114 android:textAppearance="?android:attr/textAppearanceListItem" /> 115 </LinearLayout> 116 117 <LinearLayout 118 android:layout_width="match_parent" 119 android:layout_height="wrap_content" 120 android:orientation="vertical" 121 android:layout_marginTop="14dp"> 122 <TextView 123 android:id="@+id/zen_custom_settings_dialog_reminders" 124 android:layout_width="match_parent" 125 android:layout_height="wrap_content" 126 android:text="@string/zen_mode_reminders"/> 127 128 <TextView 129 android:id="@+id/zen_custom_settings_dialog_reminders_allow" 130 android:layout_width="match_parent" 131 android:layout_height="wrap_content" 132 android:textAppearance="?android:attr/textAppearanceListItem" /> 133 </LinearLayout> 134 135 <LinearLayout 136 android:layout_width="match_parent" 137 android:layout_height="wrap_content" 138 android:orientation="vertical" 139 android:layout_marginTop="14dp"> 140 <TextView 141 android:id="@+id/zen_custom_settings_dialog_events" 142 android:layout_width="match_parent" 143 android:layout_height="wrap_content" 144 android:text="@string/zen_mode_events"/> 145 146 <TextView 147 android:id="@+id/zen_custom_settings_dialog_events_allow" 148 android:layout_width="match_parent" 149 android:layout_height="wrap_content" 150 android:textAppearance="?android:attr/textAppearanceListItem" /> 151 </LinearLayout> 152 153 <LinearLayout 154 android:layout_width="match_parent" 155 android:layout_height="wrap_content" 156 android:orientation="vertical" 157 android:layout_marginTop="14dp"> 158 <TextView 159 android:id="@+id/zen_custom_settings_dialog_notifications" 160 android:layout_width="match_parent" 161 android:layout_height="wrap_content" 162 android:text="@string/zen_custom_settings_notifications_header" /> 163 164 <TextView 165 android:id="@+id/zen_custom_settings_dialog_show_notifications" 166 android:layout_width="match_parent" 167 android:layout_height="wrap_content" 168 android:textAppearance="?android:attr/textAppearanceListItem" /> 169 </LinearLayout> 170 </LinearLayout> 171</ScrollView>