Dan Sandler | 27a9fcc | 2016-06-22 00:05:11 -0400 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | Copyright (C) 2016 The Android Open Source Project |
| 4 | |
| 5 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file |
| 6 | except in compliance with the License. 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 distributed under the |
| 11 | License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 12 | KIND, either express or implied. See the License for the specific language governing |
| 13 | permissions and limitations under the License. |
| 14 | --> |
| 15 | |
| 16 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 17 | android:orientation="vertical" |
| 18 | android:layout_width="wrap_content" |
| 19 | android:layout_height="wrap_content" |
| 20 | android:background="?android:attr/selectableItemBackgroundBorderless" |
| 21 | android:paddingLeft="4dp" android:paddingRight="4dp" |
| 22 | android:paddingBottom="6dp" android:paddingTop="6dp"> |
| 23 | <ImageView |
| 24 | android:layout_width="64dp" |
| 25 | android:layout_height="64dp" |
| 26 | android:id="@+id/icon" |
| 27 | android:tint="?android:attr/colorControlNormal"/> |
| 28 | <TextView android:layout_width="64dp" android:layout_height="wrap_content" |
| 29 | android:gravity="top|center_horizontal" |
| 30 | android:id="@+id/text" /> |
| 31 | </LinearLayout> |