blob: 66a4b737d09bcb39fb52dd03d8c82a568cf65a32 [file] [log] [blame]
Jason Monk16fbd9d2017-04-27 14:28:49 -04001<?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 Monk4e04e492017-07-11 11:07:08 -040021 android:layout_width="wrap_content"
Jason Monk16fbd9d2017-04-27 14:28:49 -040022 android:layout_height="wrap_content"
Jason Monk4e04e492017-07-11 11:07:08 -040023 android:layout_gravity="center"
24 android:minWidth="92dp"
25 android:minHeight="92dp"
Jason Monk7fe60a62017-07-07 10:36:03 -040026 android:gravity="center"
Jason Monk16fbd9d2017-04-27 14:28:49 -040027 android:orientation="vertical"
Alison Cichowlase1bdc392018-04-19 18:19:58 -040028 android:paddingEnd="4dip"
29 android:paddingStart="4dip">
Jason Monk16fbd9d2017-04-27 14:28:49 -040030
31 <ImageView
32 android:id="@*android:id/icon"
Jason Monk4e04e492017-07-11 11:07:08 -040033 android:layout_width="24dp"
34 android:layout_height="24dp"
Jason Monk16fbd9d2017-04-27 14:28:49 -040035 android:layout_gravity="center"
Alison Cichowlas3be52db2018-03-06 19:48:06 -050036 android:scaleType="center"
37 android:alpha="?android:attr/primaryContentAlpha"
38 />
Jason Monk16fbd9d2017-04-27 14:28:49 -040039
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 Monk4e04e492017-07-11 11:07:08 -040045 android:paddingTop="10dp"
Jason Monk16fbd9d2017-04-27 14:28:49 -040046 android:gravity="center"
Jason Monk4e04e492017-07-11 11:07:08 -040047 android:textSize="12sp"
Jason Monk16fbd9d2017-04-27 14:28:49 -040048 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 Monk16fbd9d2017-04-27 14:28:49 -040057 android:textColor="?android:attr/textColorTertiary"
58 android:textAppearance="?android:attr/textAppearanceSmall"
59 />
60</LinearLayout>