Bug: 27376882 Change-Id: I97183339e51c5d07fe6e9404bbcc5178ca605c05 Copilot: Jason Monk <jmonk@google.com>
32 lines
1.4 KiB
XML
32 lines
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2016 The Android Open Source Project
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
|
|
except in compliance with the License. You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software distributed under the
|
|
License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
KIND, either express or implied. See the License for the specific language governing
|
|
permissions and limitations under the License.
|
|
-->
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:orientation="vertical"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:background="?android:attr/selectableItemBackgroundBorderless"
|
|
android:paddingLeft="4dp" android:paddingRight="4dp"
|
|
android:paddingBottom="6dp" android:paddingTop="6dp">
|
|
<ImageView
|
|
android:layout_width="64dp"
|
|
android:layout_height="64dp"
|
|
android:id="@+id/icon"
|
|
android:tint="?android:attr/colorControlNormal"/>
|
|
<TextView android:layout_width="64dp" android:layout_height="wrap_content"
|
|
android:gravity="top|center_horizontal"
|
|
android:id="@+id/text" />
|
|
</LinearLayout>
|