1<!--
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
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    android:id="@+id/new_user_dialog_id">
22
23    <LinearLayout
24        android:orientation="vertical"
25        android:layout_width="match_parent"
26        android:layout_height="match_parent"
27        android:gravity="center"
28        android:padding="@dimen/dialog_content_padding">
29        <ImageView
30            android:id="@+id/dialog_with_icon_icon"
31            android:layout_width="wrap_content"
32            android:layout_height="wrap_content"
33            android:importantForAccessibility="no"/>
34        <TextView
35            android:id="@+id/dialog_with_icon_title"
36            android:layout_width="match_parent"
37            android:layout_height="wrap_content"
38            android:gravity="center"
39            style="@style/DialogWithIconTitle"/>
40        <TextView
41            android:id="@+id/dialog_with_icon_message"
42            android:layout_width="match_parent"
43            android:layout_height="wrap_content"
44            android:gravity="center"
45            style="@style/TextAppearanceSmall"/>
46
47        <LinearLayout
48            android:id="@+id/custom_layout"
49            android:orientation="vertical"
50            android:layout_width="match_parent"
51            android:layout_height="wrap_content"
52            android:gravity="center">
53        </LinearLayout>
54
55        <LinearLayout
56            android:id="@+id/button_panel"
57            android:orientation="horizontal"
58            android:layout_width="match_parent"
59            android:layout_height="wrap_content"
60            android:gravity="center">
61
62            <Button
63                android:id="@+id/button_cancel"
64                style="@style/DialogButtonNegative"
65                android:layout_width="wrap_content"
66                android:layout_height="wrap_content"
67                android:visibility="gone"/>
68
69            <Space
70                android:layout_width="0dp"
71                android:layout_height="1dp"
72                android:layout_weight="1">
73            </Space>
74
75            <Button
76                android:id="@+id/button_back"
77                android:layout_width="wrap_content"
78                android:layout_height="wrap_content"
79                style="@style/DialogButtonNegative"
80                android:visibility="gone"/>
81
82            <Space
83                android:layout_width="0dp"
84                android:layout_height="1dp"
85                android:layout_weight="0.05">
86            </Space>
87
88            <Button
89                android:id="@+id/button_ok"
90                android:layout_width="wrap_content"
91                android:layout_height="wrap_content"
92                style="@style/DialogButtonPositive"
93                android:visibility="gone"/>
94        </LinearLayout>
95    </LinearLayout>
96</ScrollView>
97