1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright (C) 2023 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    android:layout_margin="16dp">
23    <androidx.constraintlayout.widget.ConstraintLayout
24        android:id="@+id/header"
25        android:layout_width="0dp"
26        android:layout_height="wrap_content"
27        app:layout_constraintTop_toTopOf="parent"
28        app:layout_constraintBottom_toTopOf="@id/content"
29        app:layout_constraintLeft_toLeftOf="parent"
30        app:layout_constraintRight_toRightOf="parent">
31        <ImageView
32            android:id="@+id/header_icon"
33            android:layout_width="40dp"
34            android:layout_height="40dp"
35            android:scaleType="fitCenter"
36            android:importantForAccessibility="no"
37            app:layout_constraintStart_toStartOf="parent"
38            app:layout_constraintTop_toTopOf="parent" />
39        <TextView
40            android:id="@+id/header_text"
41            android:layout_width="wrap_content"
42            android:layout_height="wrap_content"
43            android:layout_marginTop="24dp"
44            android:textSize="32sp"
45            app:layout_constraintStart_toStartOf="parent"
46            app:layout_constraintTop_toBottomOf="@+id/header_icon" />
47        <TextView
48            android:id="@+id/subheader_text"
49            android:layout_width="wrap_content"
50            android:layout_height="wrap_content"
51            android:layout_marginTop="24dp"
52            android:textSize="16sp"
53            app:layout_constraintStart_toStartOf="parent"
54            app:layout_constraintTop_toBottomOf="@+id/header_text" />
55    </androidx.constraintlayout.widget.ConstraintLayout>
56    <androidx.constraintlayout.widget.ConstraintLayout
57        android:id="@+id/content"
58        android:layout_width="0dp"
59        android:layout_height="0dp"
60        app:layout_constraintTop_toBottomOf="@id/header"
61        app:layout_constraintBottom_toTopOf="@id/bottom"
62        app:layout_constraintLeft_toLeftOf="parent"
63        app:layout_constraintRight_toRightOf="parent">
64        <androidx.recyclerview.widget.RecyclerView
65            android:id="@+id/recyclerview_provision_info"
66            android:layout_width="0dp"
67            android:layout_height="match_parent"
68            android:layout_marginTop="16dp"
69            app:layoutManager="LinearLayoutManager"
70            app:layout_constraintBottom_toBottomOf="parent"
71            app:layout_constraintStart_toStartOf="parent"
72            app:layout_constraintEnd_toEndOf="parent"
73            app:layout_constraintTop_toBottomOf="parent" />
74    </androidx.constraintlayout.widget.ConstraintLayout>
75    <androidx.constraintlayout.widget.ConstraintLayout
76        android:id="@+id/bottom"
77        android:layout_width="0dp"
78        android:layout_height="wrap_content"
79        app:layout_constraintTop_toBottomOf="@id/content"
80        app:layout_constraintBottom_toBottomOf="parent"
81        app:layout_constraintLeft_toLeftOf="parent"
82        app:layout_constraintRight_toRightOf="parent">
83        <Button
84            android:id="@+id/button_previous"
85            android:layout_width="wrap_content"
86            android:layout_height="wrap_content"
87            android:text="@string/previous"
88            android:visibility="gone"
89            app:layout_constraintBottom_toBottomOf="parent"
90            app:layout_constraintStart_toStartOf="parent" />
91        <Button
92            android:id="@+id/button_next"
93            android:layout_width="wrap_content"
94            android:layout_height="wrap_content"
95            android:text="@string/next"
96            android:visibility="gone"
97            app:layout_constraintBottom_toBottomOf="parent"
98            app:layout_constraintEnd_toEndOf="parent" />
99    </androidx.constraintlayout.widget.ConstraintLayout>
100</androidx.constraintlayout.widget.ConstraintLayout>
101