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 android:clipChildren="false" 27 android:clipToPadding="false"> 28 29 <ImageView 30 android:id="@+id/icon" 31 android:layout_width="32dp" 32 android:layout_height="32dp" 33 android:tint="@color/system_primary" 34 tools:ignore="UseAppTint" /> 35 36 <TextView 37 android:id="@+id/headline" 38 android:layout_width="wrap_content" 39 android:layout_height="wrap_content" 40 android:layout_marginTop="16dp" 41 android:textAppearance="@android:style/TextAppearance.DeviceDefault.Headline" 42 android:textColor="@color/system_on_surface" 43 android:maxLines="2" 44 android:ellipsize="end" /> 45 46 <TextView 47 android:id="@+id/supporting_text" 48 android:layout_width="wrap_content" 49 android:layout_height="wrap_content" 50 android:layout_marginTop="16dp" 51 android:textAppearance="@android:style/TextAppearance.DeviceDefault.Medium" 52 android:textColor="@color/system_on_surface_variant" /> 53 54 <TextView 55 android:id="@+id/message" 56 android:layout_width="wrap_content" 57 android:layout_height="wrap_content" 58 android:layout_marginTop="16dp" 59 android:textSize="16sp" 60 android:textColor="@color/system_on_surface_variant" /> 61 62 <LinearLayout 63 android:id="@+id/button_container" 64 android:layout_width="match_parent" 65 android:layout_height="wrap_content" 66 android:orientation="horizontal" 67 android:gravity="center_vertical|end" 68 android:layout_marginTop="32dp" 69 android:divider="@drawable/horizontal_divider_10dp" 70 android:showDividers="middle" 71 android:clipToPadding="false" 72 android:clipChildren="false" /> 73</LinearLayout> 74