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:hyphenationFrequency="fullFast" 39 android:gravity="center" 40 style="@style/DialogWithIconTitle"/> 41 <TextView 42 android:id="@+id/dialog_with_icon_message" 43 android:layout_width="match_parent" 44 android:layout_height="wrap_content" 45 android:hyphenationFrequency="fullFast" 46 android:gravity="center" 47 style="@style/TextAppearanceSmall"/> 48 49 <LinearLayout 50 android:id="@+id/custom_layout" 51 android:orientation="vertical" 52 android:layout_width="match_parent" 53 android:layout_height="wrap_content" 54 android:gravity="center"> 55 </LinearLayout> 56 57 <LinearLayout 58 android:id="@+id/button_panel" 59 android:orientation="horizontal" 60 android:layout_width="match_parent" 61 android:layout_height="wrap_content" 62 android:gravity="center"> 63 64 <Button 65 android:id="@+id/button_cancel" 66 style="@style/DialogButtonNegative" 67 android:layout_width="wrap_content" 68 android:layout_height="wrap_content" 69 android:visibility="gone"/> 70 71 <Space 72 android:layout_width="0dp" 73 android:layout_height="1dp" 74 android:layout_weight="1"> 75 </Space> 76 77 <Button 78 android:id="@+id/button_back" 79 android:layout_width="wrap_content" 80 android:layout_height="wrap_content" 81 style="@style/DialogButtonNegative" 82 android:visibility="gone"/> 83 84 <Space 85 android:layout_width="0dp" 86 android:layout_height="1dp" 87 android:layout_weight="0.05"> 88 </Space> 89 90 <Button 91 android:id="@+id/button_ok" 92 android:layout_width="wrap_content" 93 android:layout_height="wrap_content" 94 style="@style/DialogButtonPositive" 95 android:visibility="gone"/> 96 </LinearLayout> 97 </LinearLayout> 98</ScrollView> 99