1<?xml version="1.0" encoding="utf-8"?>
2<!--
3    Copyright 2019 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    >
24
25    <FrameLayout
26        android:id="@+id/close_target"
27        android:layout_width="112dp"
28        android:layout_height="96dp"
29        android:background="@drawable/button_ripple_bg"
30        app:layout_constraintTop_toTopOf="parent"
31        app:layout_constraintStart_toStartOf="parent">
32        <ImageView
33            android:layout_width="56dp"
34            android:layout_height="56dp"
35            android:layout_gravity="center"
36            android:scaleType="fitCenter"
37            android:src="@drawable/ic_close"/>
38    </FrameLayout>
39
40    <TextView
41        android:id="@+id/title"
42        android:layout_width="wrap_content"
43        android:layout_height="wrap_content"
44        android:ellipsize="end"
45        android:maxLines="1"
46        android:textAppearance="?android:attr/textAppearanceLarge"
47        android:text="TMA Preferences"
48        app:layout_constraintTop_toTopOf="parent"
49        app:layout_constraintStart_toEndOf="@+id/close_target"
50        app:layout_constraintBottom_toBottomOf="@+id/close_target"/>
51
52    <FrameLayout
53        android:id="@+id/prefs_content"
54        android:layout_width="match_parent"
55        android:layout_height="0dp"
56        app:layout_constraintTop_toBottomOf="@+id/close_target"
57        app:layout_constraintBottom_toBottomOf="parent">
58    </FrameLayout>
59
60</androidx.constraintlayout.widget.ConstraintLayout>
61