Alejandro Nijamkin | a547706 | 2022-12-22 16:36:47 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?><!-- |
| 2 | ~ Copyright (C) 2022 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 | android:layout_width="wrap_content" |
| 21 | android:layout_height="wrap_content" |
Catherine Liang | 8270362 | 2022-12-21 18:04:54 +0000 | [diff] [blame] | 22 | android:background="@drawable/picker_fragment_background" |
Alejandro Nijamkin | a547706 | 2022-12-22 16:36:47 -0800 | [diff] [blame] | 23 | android:orientation="vertical" |
| 24 | android:padding="24dp"> |
| 25 | |
| 26 | <ImageView |
| 27 | android:id="@+id/icon" |
| 28 | android:layout_width="32dp" |
| 29 | android:layout_height="32dp" |
| 30 | android:tint="@color/color_accent_primary" |
| 31 | android:layout_gravity="center_horizontal" |
| 32 | android:layout_marginBottom="16dp" /> |
| 33 | |
| 34 | <TextView |
| 35 | android:id="@+id/title" |
| 36 | android:layout_width="wrap_content" |
| 37 | android:layout_height="wrap_content" |
| 38 | android:gravity="center" |
| 39 | android:textAppearance="@style/TextAppearance.MaterialComponents.Headline4" |
| 40 | android:layout_gravity="center_horizontal" |
| 41 | android:layout_marginBottom="16dp" /> |
| 42 | |
| 43 | <TextView |
| 44 | android:id="@+id/message" |
| 45 | android:layout_width="wrap_content" |
| 46 | android:layout_height="wrap_content" |
| 47 | android:textAppearance="@style/TextAppearance.MaterialComponents.Body1" |
| 48 | android:layout_gravity="center_horizontal" |
| 49 | android:layout_marginBottom="38dp" /> |
| 50 | |
| 51 | <Button |
| 52 | android:id="@+id/button" |
| 53 | android:layout_width="wrap_content" |
| 54 | android:layout_height="wrap_content" |
| 55 | style="@style/ActionPrimaryButton" |
| 56 | android:background="@drawable/button_background" |
| 57 | android:layout_gravity="end" /> |
| 58 | |
| 59 | </LinearLayout> |