1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright (C) 2022 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<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
19    android:layout_width="match_parent"
20    android:layout_height="match_parent"
21    style="@style/ScrollViewStyle">
22
23    <LinearLayout
24        android:layout_width="match_parent"
25        android:layout_height="wrap_content">
26
27        <LinearLayout
28            android:id="@+id/helper_confirmation"
29            android:layout_width="match_parent"
30            android:layout_height="wrap_content"
31            android:theme="@style/ChooserActivity"
32            android:padding="12dp"
33            style="@style/ContainerLayout">
34
35            <ImageView
36                android:id="@+id/app_icon"
37                android:layout_width="match_parent"
38                android:layout_height="32dp"
39                android:gravity="center"
40                android:layout_marginTop="12dp"
41                android:layout_marginBottom="12dp"/>
42
43            <TextView
44                android:id="@+id/helper_title"
45                android:layout_width="match_parent"
46                android:layout_height="wrap_content"
47                android:gravity="center"
48                android:textColor="?android:attr/textColorPrimary"
49                style="@style/TextAppearance"
50                android:textSize="22sp" />
51
52            <TextView
53                android:id="@+id/helper_summary"
54                android:layout_width="match_parent"
55                android:layout_height="wrap_content"
56                android:layout_marginStart="24dp"
57                android:layout_marginEnd="24dp"
58                android:layout_marginTop="12dp"
59                android:layout_marginBottom="32dp"
60                android:gravity="center"
61                android:textColor="?android:attr/textColorSecondary"
62                style="@style/TextAppearance"
63                android:textSize="14sp" />
64
65            <LinearLayout
66                android:layout_width="match_parent"
67                android:layout_height="wrap_content"
68                android:orientation="vertical"
69                android:layout_marginEnd="12dp"
70                android:gravity="end">
71
72                <Button
73                    android:id="@+id/btn_back"
74                    style="@style/VendorHelperBackButton"
75                    android:textAppearance="@android:style/TextAppearance.DeviceDefault.Medium"
76                    android:text="@string/consent_back" />
77
78            </LinearLayout>
79
80        </LinearLayout>
81
82    </LinearLayout>
83
84</ScrollView>