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 --> 17 18<LinearLayout 19 xmlns:android="http://schemas.android.com/apk/res/android" 20 xmlns:tools="http://schemas.android.com/tools" 21 android:layout_width="wrap_content" 22 android:layout_height="wrap_content" 23 android:orientation="vertical" 24 android:gravity="center_horizontal" 25 android:padding="24dp"> 26 27 <ImageView 28 android:id="@+id/icon" 29 android:layout_width="32dp" 30 android:layout_height="32dp" 31 android:tint="@color/color_accent_primary" 32 tools:ignore="UseAppTint" /> 33 34 <TextView 35 android:id="@+id/title" 36 android:layout_width="wrap_content" 37 android:layout_height="wrap_content" 38 android:layout_marginTop="16dp" 39 android:textAppearance="@android:style/TextAppearance.DeviceDefault.Headline" 40 android:textColor="@color/text_color_primary" 41 android:maxLines="2" 42 android:ellipsize="end" /> 43 44 <TextView 45 android:id="@+id/message" 46 android:layout_width="wrap_content" 47 android:layout_height="wrap_content" 48 android:layout_marginTop="16dp" 49 android:textAppearance="@android:style/TextAppearance.DeviceDefault.Medium" 50 android:textColor="@color/text_color_secondary" /> 51 52 <LinearLayout 53 android:id="@+id/button_container" 54 android:layout_width="match_parent" 55 android:layout_height="wrap_content" 56 android:orientation="horizontal" 57 android:gravity="center_vertical|end" 58 android:layout_marginTop="32dp" 59 android:divider="@drawable/horizontal_divider_10dp" 60 android:showDividers="middle" /> 61 62</LinearLayout> 63