1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3/* //device/apps/common/res/layout/alert_dialog.xml 4** 5** Copyright 2019, The Android Open Source Project 6** 7** Licensed under the Apache License, Version 2.0 (the "License"); 8** you may not use this file except in compliance with the License. 9** You may obtain a copy of the License at 10** 11** http://www.apache.org/licenses/LICENSE-2.0 12** 13** Unless required by applicable law or agreed to in writing, software 14** distributed under the License is distributed on an "AS IS" BASIS, 15** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16** See the License for the specific language governing permissions and 17** limitations under the License. 18*/ 19--> 20 21<LinearLayout 22 xmlns:android="http://schemas.android.com/apk/res/android" 23 android:id="@+id/parentPanel" 24 android:layout_width="match_parent" 25 android:layout_height="wrap_content" 26 android:orientation="vertical"> 27 28 <TextView 29 android:id="@+id/title" 30 android:layout_width="match_parent" 31 android:layout_height="wrap_content" 32 android:paddingTop="18dp" 33 android:paddingBottom="18dp" 34 android:textAlignment="center" 35 android:fontFamily="google-sans-medium" 36 android:textSize="20sp" 37 android:textStyle="bold" 38 android:textColor="?android:attr/textColorPrimary"/> 39 40 <TextView 41 android:id="@+id/message" 42 android:layout_width="match_parent" 43 android:layout_height="wrap_content" 44 android:paddingLeft="24dp" 45 android:paddingRight="24dp" 46 android:paddingBottom="24dp" 47 android:textAlignment="center" 48 android:textSize="16sp" 49 android:fontFamily="roboto-regular" 50 android:textColor="?android:attr/textColorPrimary" /> 51 52 <LinearLayout 53 android:layout_width="match_parent" 54 android:layout_height="wrap_content" 55 android:orientation="vertical" 56 android:paddingBottom="8dp" 57 android:focusable="true"> 58 59 <View 60 android:layout_width="match_parent" 61 android:layout_height="2dp" 62 android:background="@android:drawable/divider_horizontal_bright" /> 63 64 <TextView 65 android:id="@+id/learnMore" 66 style="@style/USBContaminant.UserAction" /> 67 68 <View 69 android:layout_width="match_parent" 70 android:layout_height="2dp" 71 android:background="@android:drawable/divider_horizontal_bright" /> 72 73 <TextView 74 android:id="@+id/enableUsb" 75 style="@style/USBContaminant.UserAction" /> 76 77 <View 78 android:layout_width="match_parent" 79 android:layout_height="2dp" 80 android:background="@android:drawable/divider_horizontal_bright" /> 81 82 <TextView 83 android:id="@+id/gotIt" 84 style="@style/USBContaminant.UserAction" /> 85 86 </LinearLayout> 87</LinearLayout> 88