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<RelativeLayout 19 xmlns:android="http://schemas.android.com/apk/res/android" 20 android:id="@+id/activity_popup_interstitial" 21 android:layout_width="match_parent" 22 android:layout_height="match_parent" 23 android:background="@color/interstitialBackground" 24 android:orientation="vertical"> 25 26 <TextView 27 android:layout_alignParentTop="true" 28 android:layout_margin="10dp" 29 android:layout_width="match_parent" 30 android:layout_height="wrap_content" 31 android:textSize="20sp" 32 android:id="@+id/warning_message"/> 33 34 <!-- Allow the user to opt into reporting, and to read the corresponding privacy policy --> 35 <CheckBox 36 android:layout_below="@+id/warning_message" 37 android:layout_margin="10dp" 38 android:layout_width="wrap_content" 39 android:layout_height="wrap_content" 40 android:text="@string/send_report_text" 41 android:id="@+id/reporting_checkbox" /> 42 <TextView 43 android:layout_below="@+id/reporting_checkbox" 44 android:layout_margin="10dp" 45 android:layout_width="wrap_content" 46 android:layout_height="wrap_content" 47 android:textColorLink="@color/linkColor" 48 android:id="@+id/privacy_policy" /> 49 50 <LinearLayout 51 android:layout_alignParentBottom="true" 52 android:layout_margin="10dp" 53 android:layout_width="match_parent" 54 android:layout_height="wrap_content" 55 android:orientation="horizontal"> 56 57 <Button 58 android:id="@+id/back_button" 59 android:layout_width="wrap_content" 60 android:layout_height="wrap_content" 61 android:layout_margin="2dp" 62 android:padding="10dp" 63 android:background="@color/interstitialButton" 64 android:text="@string/back_to_safety_text"/> 65 66 <Button 67 android:id="@+id/proceed_button" 68 android:layout_width="wrap_content" 69 android:layout_height="wrap_content" 70 android:layout_margin="2dp" 71 android:padding="10dp" 72 android:background="@color/interstitialButton" 73 android:text="@string/proceed_text"/> 74 75 </LinearLayout> 76 77</RelativeLayout> 78