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