Jason Monk | 16fbd9d | 2017-04-27 14:28:49 -0400 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2008 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 | <!-- RelativeLayouts have an issue enforcing minimum heights, so just |
| 18 | work around this for now with LinearLayouts. --> |
| 19 | <LinearLayout |
| 20 | xmlns:android="http://schemas.android.com/apk/res/android" |
Jason Monk | 4e04e49 | 2017-07-11 11:07:08 -0400 | [diff] [blame] | 21 | android:layout_width="wrap_content" |
Jason Monk | 16fbd9d | 2017-04-27 14:28:49 -0400 | [diff] [blame] | 22 | android:layout_height="wrap_content" |
Jason Monk | 4e04e49 | 2017-07-11 11:07:08 -0400 | [diff] [blame] | 23 | android:layout_gravity="center" |
| 24 | android:minWidth="92dp" |
| 25 | android:minHeight="92dp" |
Jason Monk | 7fe60a6 | 2017-07-07 10:36:03 -0400 | [diff] [blame] | 26 | android:gravity="center" |
Jason Monk | 16fbd9d | 2017-04-27 14:28:49 -0400 | [diff] [blame] | 27 | android:orientation="vertical" |
Alison Cichowlas | e1bdc39 | 2018-04-19 18:19:58 -0400 | [diff] [blame] | 28 | android:paddingEnd="4dip" |
| 29 | android:paddingStart="4dip"> |
Jason Monk | 16fbd9d | 2017-04-27 14:28:49 -0400 | [diff] [blame] | 30 | |
| 31 | <ImageView |
| 32 | android:id="@*android:id/icon" |
Jason Monk | 4e04e49 | 2017-07-11 11:07:08 -0400 | [diff] [blame] | 33 | android:layout_width="24dp" |
| 34 | android:layout_height="24dp" |
Jason Monk | 16fbd9d | 2017-04-27 14:28:49 -0400 | [diff] [blame] | 35 | android:layout_gravity="center" |
Alison Cichowlas | 3be52db | 2018-03-06 19:48:06 -0500 | [diff] [blame] | 36 | android:scaleType="center" |
| 37 | android:alpha="?android:attr/primaryContentAlpha" |
| 38 | /> |
Jason Monk | 16fbd9d | 2017-04-27 14:28:49 -0400 | [diff] [blame] | 39 | |
| 40 | <TextView |
| 41 | android:id="@*android:id/message" |
| 42 | android:layout_width="wrap_content" |
| 43 | android:layout_height="wrap_content" |
| 44 | android:layout_gravity="top|center_horizontal" |
Jason Monk | 4e04e49 | 2017-07-11 11:07:08 -0400 | [diff] [blame] | 45 | android:paddingTop="10dp" |
Jason Monk | 16fbd9d | 2017-04-27 14:28:49 -0400 | [diff] [blame] | 46 | android:gravity="center" |
Jason Monk | 4e04e49 | 2017-07-11 11:07:08 -0400 | [diff] [blame] | 47 | android:textSize="12sp" |
Jason Monk | 16fbd9d | 2017-04-27 14:28:49 -0400 | [diff] [blame] | 48 | android:textAppearance="?android:attr/textAppearanceSmall" |
| 49 | /> |
| 50 | |
| 51 | <TextView |
| 52 | android:id="@*android:id/status" |
| 53 | android:layout_width="wrap_content" |
| 54 | android:layout_height="wrap_content" |
| 55 | android:layout_gravity="top|center_horizontal" |
| 56 | android:gravity="center" |
Jason Monk | 16fbd9d | 2017-04-27 14:28:49 -0400 | [diff] [blame] | 57 | android:textColor="?android:attr/textColorTertiary" |
| 58 | android:textAppearance="?android:attr/textAppearanceSmall" |
| 59 | /> |
| 60 | </LinearLayout> |