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<ScrollView
18    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    android:importantForAccessibility="no">
23
24    <LinearLayout
25        android:layout_width="match_parent"
26        android:layout_height="wrap_content"
27        android:baselineAligned="false"
28        android:importantForAccessibility="no">
29
30        <LinearLayout
31            android:id="@+id/data_transfer_confirmation"
32            style="@style/ContainerLayout">
33
34            <!-- Do NOT change the ID of the root LinearLayout above: it's referenced in CTS tests. -->
35
36            <ImageView
37                android:id="@+id/header_icon"
38                android:layout_width="match_parent"
39                android:layout_height="32dp"
40                android:gravity="center"
41                android:layout_marginTop="18dp"
42                android:src="@drawable/ic_warning"
43                android:contentDescription="@null" />
44
45            <LinearLayout style="@style/Description">
46
47                <TextView
48                    android:id="@+id/title"
49                    style="@style/DescriptionTitle" />
50
51                <TextView
52                    android:id="@+id/summary"
53                    style="@style/DescriptionSummary" />
54
55            </LinearLayout>
56
57            <LinearLayout
58                android:layout_width="match_parent"
59                android:layout_height="wrap_content"
60                android:gravity="center"
61                android:orientation="vertical"
62                android:layout_marginTop="12dp"
63                android:layout_marginBottom="18dp">
64
65                <!-- Do NOT change the IDs of the buttons: they are referenced in CTS tests. -->
66
67                <Button
68                    android:id="@+id/btn_positive"
69                    style="@style/PositiveButton"
70                    android:text="@string/consent_yes" />
71
72                <Button
73                    android:id="@+id/btn_negative"
74                    style="@style/NegativeButton"
75                    android:text="@string/consent_no" />
76
77            </LinearLayout>
78
79        </LinearLayout>
80
81    </LinearLayout>
82
83</ScrollView>