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            android:visibility="gone" />
68
69        <View
70            android:layout_width="match_parent"
71            android:layout_height="2dp"
72            android:background="@android:drawable/divider_horizontal_bright" />
73
74        <TextView
75            android:id="@+id/enableUsb"
76            style="@style/USBContaminant.UserAction" />
77
78        <View
79            android:layout_width="match_parent"
80            android:layout_height="2dp"
81            android:background="@android:drawable/divider_horizontal_bright" />
82
83        <TextView
84          android:id="@+id/gotIt"
85          style="@style/USBContaminant.UserAction" />
86
87    </LinearLayout>
88</LinearLayout>
89