Android O SDK.
[android_tools.git] / sdk / platforms / android-26 / data / res / layout / accessibility_button_chooser_item.xml
blob76a93083bd3ea2929a845aebc02fa5559caf20a9
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3 /*
4 ** Copyright 2017, The Android Open Source Project
5 **
6 ** Licensed under the Apache License, Version 2.0 (the "License");
7 ** you may not use this file except in compliance with the License.
8 ** You may obtain a copy of the License at
9 **
10 **     http://www.apache.org/licenses/LICENSE-2.0
12 ** Unless required by applicable law or agreed to in writing, software
13 ** distributed under the License is distributed on an "AS IS" BASIS,
14 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 ** See the License for the specific language governing permissions and
16 ** limitations under the License.
18 -->
19 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
20               android:orientation="vertical"
21               android:layout_width="wrap_content"
22               android:layout_height="wrap_content"
23               android:minWidth="80dp"
24               android:gravity="center"
25               android:paddingTop="8dp"
26               android:paddingBottom="8dp"
27               android:background="?attr/selectableItemBackgroundBorderless">
29     <ImageView android:id="@+id/accessibility_button_target_icon"
30                android:layout_width="48dp"
31                android:layout_height="48dp"
32                android:layout_marginLeft="3dp"
33                android:layout_marginRight="3dp"
34                android:layout_marginBottom="3dp"
35                android:scaleType="fitCenter"/>
37     <TextView android:id="@+id/accessibility_button_target_label"
38               android:layout_width="wrap_content"
39               android:layout_height="wrap_content"
40               android:layout_marginTop="8dp"
41               android:layout_marginLeft="4dp"
42               android:layout_marginRight="4dp"
43               android:textAppearance="?attr/textAppearanceSmall"
44               android:textColor="?attr/textColorPrimary"
45               android:textSize="12sp"
46               android:fontFamily="sans-serif-condensed"
47               android:gravity="top|center_horizontal"
48               android:minLines="2"
49               android:maxLines="2"
50               android:ellipsize="marquee"/>
51 </LinearLayout>