Alan Viverette | 1912725 | 2016-02-04 10:12:05 -0500 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2016 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 | |
Fan Zhang | 275da6a | 2018-06-14 10:25:58 -0700 | [diff] [blame] | 17 | <LinearLayout |
| 18 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 19 | android:layout_width="wrap_content" |
| 20 | android:layout_height="wrap_content" |
| 21 | android:layout_gravity="center_horizontal|top" |
| 22 | android:gravity="center_horizontal" |
| 23 | android:orientation="vertical" |
| 24 | android:paddingTop="8dp"> |
Alan Viverette | 1912725 | 2016-02-04 10:12:05 -0500 | [diff] [blame] | 25 | |
Fan Zhang | 275da6a | 2018-06-14 10:25:58 -0700 | [diff] [blame] | 26 | <ImageView |
| 27 | android:id="@android:id/icon1" |
| 28 | android:layout_width="64dp" |
| 29 | android:layout_height="64dp" |
| 30 | android:layout_marginBottom="4dp" |
| 31 | android:scaleType="fitCenter" /> |
| 32 | |
| 33 | <TextView |
| 34 | android:id="@android:id/text1" |
| 35 | android:layout_width="match_parent" |
Alan Viverette | 1912725 | 2016-02-04 10:12:05 -0500 | [diff] [blame] | 36 | android:layout_height="wrap_content" |
Fan Zhang | 275da6a | 2018-06-14 10:25:58 -0700 | [diff] [blame] | 37 | android:ellipsize="end" |
| 38 | android:gravity="center_horizontal|top" |
| 39 | android:singleLine="true" |
Amin Shaikh | a5e8bdd | 2018-12-19 14:42:59 -0500 | [diff] [blame] | 40 | android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Caption" /> |
| 41 | </LinearLayout> |