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        </LinearLayout>
134    </ScrollView>
135    <include layout="@layout/menu_button"/>
136
137</androidx.constraintlayout.widget.ConstraintLayout>