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"
21    android:layout_width="wrap_content"
22    android:layout_height="wrap_content"
23    android:layout_gravity="center"
24    android:minWidth="92dp"
25    android:minHeight="92dp"
26    android:gravity="center"
27    android:orientation="vertical"
28    android:paddingEnd="4dip"
29    android:paddingStart="4dip">
30
31    <ImageView
32        android:id="@*android:id/icon"
33        android:layout_width="24dp"
34        android:layout_height="24dp"
35        android:layout_gravity="center"
36        android:scaleType="center"
37        android:alpha="?android:attr/primaryContentAlpha"
38    />
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"
45        android:paddingTop="10dp"
46        android:gravity="center"
47        android:textSize="12sp"
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"
57        android:textColor="?android:attr/textColorTertiary"
58        android:textAppearance="?android:attr/textAppearanceSmall"
59        />
60</LinearLayout>
61