1<?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<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" 19 xmlns:app="http://schemas.android.com/apk/res-auto" 20 android:layout_width="match_parent" 21 android:layout_height="match_parent"> 22 23 <include layout="@layout/set_background" 24 android:id="@+id/setBackground" 25 android:layout_width="wrap_content" 26 android:layout_height="wrap_content" 27 android:layout_marginTop="20dp" 28 app:layout_constraintBottom_toTopOf="@+id/text_sample_list" 29 app:layout_constraintEnd_toEndOf="parent" 30 app:layout_constraintStart_toStartOf="parent" 31 app:layout_constraintTop_toTopOf="parent"/> 32 33 <ScrollView 34 android:id="@+id/text_sample_list" 35 android:layout_width="0dp" 36 android:layout_height="0dp" 37 android:layout_marginBottom="8dp" 38 android:layout_marginEnd="8dp" 39 android:layout_marginStart="8dp" 40 android:layout_marginTop="8dp" 41 app:layout_constraintBottom_toBottomOf="parent" 42 app:layout_constraintEnd_toEndOf="parent" 43 app:layout_constraintStart_toStartOf="parent" 44 app:layout_constraintTop_toBottomOf="@id/setBackground"> 45 46 <LinearLayout 47 android:layout_width="match_parent" 48 android:layout_height="wrap_content" 49 android:orientation="vertical"> 50 51 <TextView 52 android:id="@+id/unset" 53 android:layout_width="match_parent" 54 android:layout_height="wrap_content" 55 android:text="Text Appearance Not Set (thus textAppearanceSmall)"/> 56 57 <TextView 58 android:id="@+id/textAppearanceLarge" 59 android:layout_width="match_parent" 60 android:layout_height="wrap_content" 61 android:text="textAppearanceLarge" 62 android:textAppearance="?android:attr/textAppearanceLarge" /> 63 64 <TextView 65 android:id="@+id/textAppearanceLargeInverse" 66 android:layout_width="match_parent" 67 android:layout_height="wrap_content" 68 android:text="textAppearanceLargeInverse" 69 android:textAppearance="?android:attr/textAppearanceLargeInverse" /> 70 71 <TextView 72 android:id="@+id/textAppearanceMedium" 73 android:layout_width="match_parent" 74 android:layout_height="wrap_content" 75 android:text="TextApperanceMedium" 76 android:textAppearance="?android:attr/textAppearanceMedium" /> 77 78 <TextView 79 android:id="@+id/textAppearanceMediumInverse" 80 android:layout_width="match_parent" 81 android:layout_height="wrap_content" 82 android:text="textAppearanceMediumInverse" 83 android:textAppearance="?android:attr/textAppearanceMediumInverse" /> 84 85 <TextView 86 android:id="@+id/textAppearance" 87 android:layout_width="match_parent" 88 android:layout_height="wrap_content" 89 android:text="textAppearance" 90 android:textAppearance="?android:attr/textAppearance" /> 91 92 <TextView 93 android:id="@+id/textAppearanceInverse" 94 android:layout_width="match_parent" 95 android:layout_height="wrap_content" 96 android:text="textAppearanceInverse" 97 android:textAppearance="?android:attr/textAppearanceInverse" /> 98 99 <TextView 100 android:id="@+id/small" 101 android:layout_width="match_parent" 102 android:layout_height="wrap_content" 103 android:text="TextApperanceSmall" 104 android:textAppearance="?android:attr/textAppearanceSmall" /> 105 106 <TextView 107 android:id="@+id/textAppearanceSmallInverse" 108 android:layout_width="match_parent" 109 android:layout_height="wrap_content" 110 android:text="textAppearanceSmallInverse" 111 android:textAppearance="?android:attr/textAppearanceSmallInverse" /> 112 113 <TextView 114 android:id="@+id/textAppearanceListItem" 115 android:layout_width="match_parent" 116 android:layout_height="wrap_content" 117 android:text="textAppearanceListItem" 118 android:textAppearance="?android:attr/textAppearanceListItem" /> 119 120 <TextView 121 android:id="@+id/textAppearanceListItemSmall" 122 android:layout_width="match_parent" 123 android:layout_height="wrap_content" 124 android:text="textAppearanceListItemSmall" 125 android:textAppearance="?android:attr/textAppearanceListItemSmall" /> 126 127 <TextView 128 android:id="@+id/textAppearanceListItemSecondary" 129 android:layout_width="match_parent" 130 android:layout_height="wrap_content" 131 android:text="textAppearanceListItemSecondary" 132 android:textAppearance="?android:attr/textAppearanceListItemSecondary" /> 133 134 <TextView 135 android:id="@+id/textAppearanceSearchResultTitle" 136 android:layout_width="match_parent" 137 android:layout_height="wrap_content" 138 android:text="textAppearanceSearchResultTitle" 139 android:textAppearance="?android:attr/textAppearanceSearchResultTitle" /> 140 141 <TextView 142 android:id="@+id/textAppearanceSearchResultSubtitle" 143 android:layout_width="match_parent" 144 android:layout_height="wrap_content" 145 android:text="textAppearanceSearchResultSubtitle" 146 android:textAppearance="?android:attr/textAppearanceSearchResultSubtitle" /> 147 148 <TextView 149 android:id="@+id/textAppearanceButton" 150 android:layout_width="match_parent" 151 android:layout_height="wrap_content" 152 android:text="textAppearanceButton" 153 android:textAppearance="?android:attr/textAppearanceButton" /> 154 155 <TextView 156 android:id="@+id/textAppearanceLargePopupMenu" 157 android:layout_width="match_parent" 158 android:layout_height="wrap_content" 159 android:text="textAppearanceLargePopupMenu" 160 android:textAppearance="?android:attr/textAppearanceLargePopupMenu" /> 161 162 <TextView 163 android:id="@+id/textAppearanceSmallPopupMenu" 164 android:layout_width="match_parent" 165 android:layout_height="wrap_content" 166 android:text="textAppearanceSmallPopupMenu" 167 android:textAppearance="?android:attr/textAppearanceSmallPopupMenu" /> 168 169 <TextView 170 android:id="@+id/textAppearancePopupMenuHeader" 171 android:layout_width="match_parent" 172 android:layout_height="wrap_content" 173 android:text="textAppearancePopupMenuHeader" 174 android:textAppearance="?android:attr/textAppearancePopupMenuHeader" /> 175 176 <TextView 177 android:id="@+id/panelTextAppearance" 178 android:layout_width="match_parent" 179 android:layout_height="wrap_content" 180 android:text="panelTextAppearance" 181 android:textAppearance="?android:attr/panelTextAppearance" /> 182 183 <TextView 184 android:id="@+id/actionMenuTextAppearance" 185 android:layout_width="match_parent" 186 android:layout_height="wrap_content" 187 android:text="actionMenuTextAppearance" 188 android:textAppearance="?android:attr/actionMenuTextAppearance" /> 189 190 <TextView 191 android:id="@+id/itemTextAppearance" 192 android:layout_width="match_parent" 193 android:layout_height="wrap_content" 194 android:text="itemTextAppearance" 195 android:textAppearance="?android:attr/itemTextAppearance" /> 196 197 <TextView 198 android:id="@+id/yearListItemTextAppearance" 199 android:layout_width="match_parent" 200 android:layout_height="wrap_content" 201 android:text="yearListItemTextAppearance" 202 android:textAppearance="?android:attr/yearListItemTextAppearance" /> 203 204 <TextView 205 android:id="@+id/headerMonthTextAppearance" 206 android:layout_width="match_parent" 207 android:layout_height="wrap_content" 208 android:text="headerMonthTextAppearance" 209 android:textAppearance="?android:attr/headerMonthTextAppearance" /> 210 211 <TextView 212 android:id="@+id/headerDayOfMonthTextAppearance" 213 android:layout_width="match_parent" 214 android:layout_height="wrap_content" 215 android:text="headerDayOfMonthTextAppearance" 216 android:textAppearance="?android:attr/headerDayOfMonthTextAppearance" /> 217 218 <TextView 219 android:id="@+id/headerYearTextAppearance" 220 android:layout_width="match_parent" 221 android:layout_height="wrap_content" 222 android:text="headerYearTextAppearance" 223 android:textAppearance="?android:attr/headerYearTextAppearance" /> 224 225 <TextView 226 android:id="@+id/dayOfWeekTextAppearance" 227 android:layout_width="match_parent" 228 android:layout_height="wrap_content" 229 android:text="dayOfWeekTextAppearance" 230 android:textAppearance="?android:attr/dayOfWeekTextAppearance" /> 231 232 <TextView 233 android:id="@+id/weekDayTextAppearance" 234 android:layout_width="match_parent" 235 android:layout_height="wrap_content" 236 android:text="weekDayTextAppearance" 237 android:textAppearance="?android:attr/weekDayTextAppearance" /> 238 239 <TextView 240 android:id="@+id/dateTextAppearance" 241 android:layout_width="match_parent" 242 android:layout_height="wrap_content" 243 android:text="dateTextAppearance" 244 android:textAppearance="?android:attr/dateTextAppearance" /> 245 246 <TextView 247 android:id="@+id/headerAmPmTextAppearance" 248 android:layout_width="match_parent" 249 android:layout_height="wrap_content" 250 android:text="headerAmPmTextAppearance" 251 android:textAppearance="?android:attr/headerAmPmTextAppearance" /> 252 253 <TextView 254 android:id="@+id/headerTimeTextAppearance" 255 android:layout_width="match_parent" 256 android:layout_height="wrap_content" 257 android:text="headerTimeTextAppearance" 258 android:textAppearance="?android:attr/headerTimeTextAppearance" /> 259 260 <TextView 261 android:id="@+id/switchTextAppearance" 262 android:layout_width="match_parent" 263 android:layout_height="wrap_content" 264 android:text="switchTextAppearance" 265 android:textAppearance="?android:attr/switchTextAppearance" /> 266 267 <TextView 268 android:id="@+id/titleTextAppearance" 269 android:layout_width="match_parent" 270 android:layout_height="wrap_content" 271 android:text="titleTextAppearance" 272 android:textAppearance="?android:attr/titleTextAppearance" /> 273 274 <TextView 275 android:id="@+id/subtitleTextAppearance" 276 android:layout_width="match_parent" 277 android:layout_height="wrap_content" 278 android:text="subtitleTextAppearance" 279 android:textAppearance="?android:attr/subtitleTextAppearance" /> 280 281 <TextView 282 android:layout_width="match_parent" 283 android:layout_height="wrap_content" 284 android:text="windowTitleStyle" 285 style="?android:attr/windowTitleStyle" /> 286 287 </LinearLayout> 288 </ScrollView> 289 <include layout="@layout/menu_button"/> 290 291</androidx.constraintlayout.widget.ConstraintLayout>