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 19 xmlns:android="http://schemas.android.com/apk/res/android" 20 xmlns:app="http://schemas.android.com/apk/res-auto" 21 android:layout_width="match_parent" 22 android:layout_height="match_parent"> 23 <ScrollView 24 android:layout_width="0dp" 25 android:layout_height="0dp" 26 android:layout_marginBottom="8dp" 27 android:layout_marginEnd="16dp" 28 android:layout_marginStart="16dp" 29 android:layout_marginTop="8dp" 30 app:layout_constraintBottom_toBottomOf="parent" 31 app:layout_constraintEnd_toEndOf="parent" 32 app:layout_constraintStart_toStartOf="parent" 33 app:layout_constraintTop_toTopOf="parent"> 34 35 <LinearLayout 36 android:layout_width="match_parent" 37 android:layout_height="wrap_content" 38 android:orientation="vertical"> 39 40 <FrameLayout 41 android:layout_width="match_parent" 42 android:layout_height="100dp" 43 android:background="?android:attr/colorPrimary"> 44 <TextView 45 android:layout_width="wrap_content" 46 android:layout_height="wrap_content" 47 android:text="android:attr/colorPrimary"/> 48 </FrameLayout> 49 <FrameLayout 50 android:layout_width="match_parent" 51 android:layout_height="100dp" 52 android:background="?android:attr/colorPrimaryDark"> 53 <TextView 54 android:layout_width="wrap_content" 55 android:layout_height="wrap_content" 56 android:text="android:attr/colorPrimaryDark"/> 57 </FrameLayout> 58 <FrameLayout 59 android:layout_width="match_parent" 60 android:layout_height="100dp" 61 android:background="?android:attr/colorAccent"> 62 <TextView 63 android:layout_width="wrap_content" 64 android:layout_height="wrap_content" 65 android:text="android:attr/colorAccent"/> 66 </FrameLayout> 67 <FrameLayout 68 android:layout_width="match_parent" 69 android:layout_height="100dp" 70 android:background="?android:attr/colorForeground"> 71 <TextView 72 android:layout_width="wrap_content" 73 android:layout_height="wrap_content" 74 android:text="android:attr/colorForeground" 75 android:textColor="?android:attr/textColorPrimaryInverse"/> 76 </FrameLayout> 77 <FrameLayout 78 android:layout_width="match_parent" 79 android:layout_height="100dp" 80 android:background="?android:attr/colorBackground"> 81 <TextView 82 android:layout_width="wrap_content" 83 android:layout_height="wrap_content" 84 android:text="android:attr/colorBackground"/> 85 </FrameLayout> 86 <FrameLayout 87 android:layout_width="match_parent" 88 android:layout_height="100dp" 89 android:background="?android:attr/windowBackground"> 90 <TextView 91 android:layout_width="wrap_content" 92 android:layout_height="wrap_content" 93 android:text="android:attr/windowBackground"/> 94 </FrameLayout> 95 <FrameLayout 96 android:layout_width="match_parent" 97 android:layout_height="100dp" 98 android:background="?android:attr/colorBackgroundFloating"> 99 <TextView 100 android:layout_width="wrap_content" 101 android:layout_height="wrap_content" 102 android:text="android:attr/colorBackgroundFloating"/> 103 </FrameLayout> 104 <FrameLayout 105 android:layout_width="match_parent" 106 android:layout_height="100dp" 107 android:background="?android:attr/colorActivatedHighlight"> 108 <TextView 109 android:layout_width="wrap_content" 110 android:layout_height="wrap_content" 111 android:text="android:attr/colorActivatedHighlight"/> 112 </FrameLayout> 113 <FrameLayout 114 android:layout_width="match_parent" 115 android:layout_height="100dp" 116 android:background="?android:attr/colorControlActivated"> 117 <TextView 118 android:layout_width="wrap_content" 119 android:layout_height="wrap_content" 120 android:text="android:attr/colorControlActivated"/> 121 </FrameLayout> 122 <FrameLayout 123 android:layout_width="match_parent" 124 android:layout_height="100dp" 125 android:background="?android:attr/colorControlHighlight"> 126 <TextView 127 android:layout_width="wrap_content" 128 android:layout_height="wrap_content" 129 android:text="android:attr/colorControlHighlight"/> 130 </FrameLayout> 131 <FrameLayout 132 android:layout_width="match_parent" 133 android:layout_height="100dp" 134 android:background="?android:attr/colorControlNormal"> 135 <TextView 136 android:layout_width="wrap_content" 137 android:layout_height="wrap_content" 138 android:text="android:attr/colorControlNormal"/> 139 </FrameLayout> 140 <FrameLayout 141 android:layout_width="match_parent" 142 android:layout_height="100dp" 143 android:background="?android:attr/colorError"> 144 <TextView 145 android:layout_width="wrap_content" 146 android:layout_height="wrap_content" 147 android:text="android:attr/colorError"/> 148 </FrameLayout> 149 <FrameLayout 150 android:layout_width="match_parent" 151 android:layout_height="100dp" 152 android:background="?android:attr/colorButtonNormal"> 153 <TextView 154 android:layout_width="wrap_content" 155 android:layout_height="wrap_content" 156 android:text="android:attr/colorButtonNormal"/> 157 </FrameLayout> 158 <FrameLayout 159 android:layout_width="match_parent" 160 android:layout_height="100dp" 161 android:background="?android:attr/colorFocusedHighlight"> 162 <TextView 163 android:layout_width="wrap_content" 164 android:layout_height="wrap_content" 165 android:text="android:attr/colorFocusedHighlight"/> 166 </FrameLayout> 167 <FrameLayout 168 android:layout_width="match_parent" 169 android:layout_height="100dp" 170 android:background="?android:attr/panelColorBackground"> 171 <TextView 172 android:layout_width="wrap_content" 173 android:layout_height="wrap_content" 174 android:text="android:attr/panelColorBackground"/> 175 </FrameLayout> 176 </LinearLayout> 177 </ScrollView> 178 <include layout="@layout/menu_button"/> 179 180</androidx.constraintlayout.widget.ConstraintLayout>