| <?xml version="1.0" encoding="utf-8"?> |
| <!-- Copyright (C) 2023 The Android Open Source Project |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:gravity="center" |
| android:padding="24dp" |
| android:orientation="vertical"> |
| |
| <ImageView |
| android:id="@+id/dialog_icon" |
| android:layout_width="54dp" |
| android:layout_height="54dp" |
| android:visibility="gone" |
| android:layout_marginBottom="32dp" |
| android:importantForAccessibility="no" /> |
| |
| <TextView |
| android:id="@+id/dialog_title" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:importantForAccessibility="yes" |
| android:textColor="#F1F3F4" |
| android:textSize="28sp" /> |
| |
| <Space |
| android:layout_width="0dp" |
| android:layout_height="24dp" /> |
| |
| <TextView |
| android:id="@+id/dialog_message" |
| android:maxWidth="600dp" |
| android:textAlignment="center" |
| android:textColor="#DBE8EAED" |
| android:textSize="16sp" |
| android:lineSpacingExtra="5sp" |
| android:importantForAccessibility="yes" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" /> |
| |
| <FrameLayout |
| android:id="@+id/custom_view_container" |
| android:maxWidth="600dp" |
| android:layout_marginTop="8dp" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" /> |
| |
| <LinearLayout |
| android:id="@+id/hint_container" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_marginTop="20dp" |
| android:visibility="gone" |
| android:gravity="center" |
| android:orientation="horizontal"> |
| <ImageView |
| android:id="@+id/hint_icon" |
| android:layout_marginHorizontal="8dp" |
| android:importantForAccessibility="no" |
| android:visibility="gone" |
| android:layout_width="16dp" |
| android:layout_height="16dp" /> |
| <TextView |
| android:id="@+id/hint_text" |
| android:importantForAccessibility="yes" |
| android:textAlignment="center" |
| android:textColor="#DBE8EAED" |
| android:textSize="16sp" |
| android:lineSpacingExtra="5sp" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" /> |
| </LinearLayout> |
| |
| <LinearLayout |
| android:id="@+id/button_bar" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_marginTop="48dp" |
| android:orientation="horizontal"> |
| <Button |
| android:id="@+id/positive_button" |
| android:visibility="gone" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_margin="8dp" |
| style="?android:attr/buttonBarButtonStyle" /> |
| <Button |
| android:id="@+id/negative_button" |
| android:visibility="gone" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_margin="8dp" |
| style="?android:attr/buttonBarButtonStyle" /> |
| </LinearLayout> |
| |
| </LinearLayout> |