<?xml version="1.0" encoding="utf-8"?> <!-- ~ Copyright (C) 2018 The Android Open Source Project ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or agreed to in writing, software ~ distributed under the License is distributed on an "AS IS" BASIS, ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the License for the specific language governing permissions and ~ limitations under the License --> <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent"> <ScrollView android:layout_width="0dp" android:layout_height="0dp" android:layout_marginBottom="8dp" android:layout_marginEnd="16dp" android:layout_marginStart="16dp" android:layout_marginTop="8dp" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent"> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical"> <FrameLayout android:layout_width="match_parent" android:layout_height="100dp" android:background="?android:attr/colorPrimary"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="android:attr/colorPrimary"/> </FrameLayout> <FrameLayout android:layout_width="match_parent" android:layout_height="100dp" android:background="?android:attr/colorPrimaryDark"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="android:attr/colorPrimaryDark"/> </FrameLayout> <FrameLayout android:layout_width="match_parent" android:layout_height="100dp" android:background="?android:attr/colorAccent"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="android:attr/colorAccent"/> </FrameLayout> <FrameLayout android:layout_width="match_parent" android:layout_height="100dp" android:background="?android:attr/colorForeground"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="android:attr/colorForeground" android:textColor="?android:attr/textColorPrimaryInverse"/> </FrameLayout> <FrameLayout android:layout_width="match_parent" android:layout_height="100dp" android:background="?android:attr/colorBackground"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="android:attr/colorBackground"/> </FrameLayout> <FrameLayout android:layout_width="match_parent" android:layout_height="100dp" android:background="?android:attr/windowBackground"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="android:attr/windowBackground"/> </FrameLayout> <FrameLayout android:layout_width="match_parent" android:layout_height="100dp" android:background="?android:attr/colorBackgroundFloating"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="android:attr/colorBackgroundFloating"/> </FrameLayout> <FrameLayout android:layout_width="match_parent" android:layout_height="100dp" android:background="?android:attr/colorActivatedHighlight"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="android:attr/colorActivatedHighlight"/> </FrameLayout> <FrameLayout android:layout_width="match_parent" android:layout_height="100dp" android:background="?android:attr/colorControlActivated"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="android:attr/colorControlActivated"/> </FrameLayout> <FrameLayout android:layout_width="match_parent" android:layout_height="100dp" android:background="?android:attr/colorControlHighlight"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="android:attr/colorControlHighlight"/> </FrameLayout> <FrameLayout android:layout_width="match_parent" android:layout_height="100dp" android:background="?android:attr/colorControlNormal"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="android:attr/colorControlNormal"/> </FrameLayout> <FrameLayout android:layout_width="match_parent" android:layout_height="100dp" android:background="?android:attr/colorError"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="android:attr/colorError"/> </FrameLayout> <FrameLayout android:layout_width="match_parent" android:layout_height="100dp" android:background="?android:attr/colorButtonNormal"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="android:attr/colorButtonNormal"/> </FrameLayout> <FrameLayout android:layout_width="match_parent" android:layout_height="100dp" android:background="?android:attr/colorFocusedHighlight"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="android:attr/colorFocusedHighlight"/> </FrameLayout> <FrameLayout android:layout_width="match_parent" android:layout_height="100dp" android:background="?android:attr/panelColorBackground"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="android:attr/panelColorBackground"/> </FrameLayout> </LinearLayout> </ScrollView> <include layout="@layout/menu_button"/> </androidx.constraintlayout.widget.ConstraintLayout>