1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2023 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
17    android:layout_width="match_parent"
18    android:layout_height="match_parent"
19    android:gravity="center"
20    android:padding="24dp"
21    android:orientation="vertical">
22
23    <ImageView
24        android:id="@+id/dialog_icon"
25        android:layout_width="54dp"
26        android:layout_height="54dp"
27        android:visibility="gone"
28        android:layout_marginBottom="32dp"
29        android:importantForAccessibility="no" />
30
31    <TextView
32        android:id="@+id/dialog_title"
33        android:layout_width="wrap_content"
34        android:layout_height="wrap_content"
35        android:importantForAccessibility="yes"
36        android:textColor="#F1F3F4"
37        android:textSize="28sp" />
38
39    <Space
40        android:layout_width="0dp"
41        android:layout_height="24dp" />
42
43    <TextView
44        android:id="@+id/dialog_message"
45        android:maxWidth="600dp"
46        android:textAlignment="center"
47        android:textColor="#DBE8EAED"
48        android:textSize="16sp"
49        android:lineSpacingExtra="5sp"
50        android:importantForAccessibility="yes"
51        android:layout_width="wrap_content"
52        android:layout_height="wrap_content" />
53
54    <FrameLayout
55        android:id="@+id/custom_view_container"
56        android:maxWidth="600dp"
57        android:layout_marginTop="8dp"
58        android:layout_width="wrap_content"
59        android:layout_height="wrap_content" />
60
61    <LinearLayout
62        android:id="@+id/hint_container"
63        android:layout_width="wrap_content"
64        android:layout_height="wrap_content"
65        android:layout_marginTop="20dp"
66        android:visibility="gone"
67        android:gravity="center"
68        android:orientation="horizontal">
69        <ImageView
70            android:id="@+id/hint_icon"
71            android:layout_marginHorizontal="8dp"
72            android:importantForAccessibility="no"
73            android:visibility="gone"
74            android:layout_width="16dp"
75            android:layout_height="16dp" />
76        <TextView
77            android:id="@+id/hint_text"
78            android:importantForAccessibility="yes"
79            android:textAlignment="center"
80            android:textColor="#DBE8EAED"
81            android:textSize="16sp"
82            android:lineSpacingExtra="5sp"
83            android:layout_width="wrap_content"
84            android:layout_height="wrap_content" />
85    </LinearLayout>
86
87    <LinearLayout
88        android:id="@+id/button_bar"
89        android:layout_width="wrap_content"
90        android:layout_height="wrap_content"
91        android:layout_marginTop="48dp"
92        android:orientation="horizontal">
93        <Button
94            android:id="@+id/positive_button"
95            android:visibility="gone"
96            android:layout_width="wrap_content"
97            android:layout_height="wrap_content"
98            android:layout_margin="8dp"
99            style="?android:attr/buttonBarButtonStyle" />
100        <Button
101            android:id="@+id/negative_button"
102            android:visibility="gone"
103            android:layout_width="wrap_content"
104            android:layout_height="wrap_content"
105            android:layout_margin="8dp"
106            style="?android:attr/buttonBarButtonStyle" />
107    </LinearLayout>
108
109</LinearLayout>
110