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");
6  ~ you may not use this file except in compliance with the License.
7  ~ You may obtain a copy of the License at
8  ~
9  ~      http://www.apache.org/licenses/LICENSE-2.0
10  ~
11  ~ Unless required by applicable law or agreed to in writing, software
12  ~ distributed under the License is distributed on an "AS IS" BASIS,
13  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  ~ See the License for the specific language governing permissions and
15  ~ limitations under the License
16  -->
17<com.android.systemui.statusbar.KeyboardShortcutAppItemLayout
18        xmlns:android="http://schemas.android.com/apk/res/android"
19        android:orientation="horizontal"
20        android:layout_width="match_parent"
21        android:layout_height="wrap_content"
22        android:minHeight="48dp"
23        android:paddingStart="24dp"
24        android:paddingEnd="24dp"
25        android:paddingBottom="8dp">
26    <ImageView
27            android:id="@+id/keyboard_shortcuts_icon"
28            android:layout_width="24dp"
29            android:layout_height="24dp"
30            android:layout_marginEnd="24dp"
31            android:layout_gravity="center_vertical"
32            android:visibility="gone"
33            android:layout_alignParentStart="true"
34            android:layout_centerVertical="true"/>
35    <TextView
36            android:id="@+id/keyboard_shortcuts_keyword"
37            android:layout_toEndOf="@+id/keyboard_shortcuts_icon"
38            android:layout_width="wrap_content"
39            android:layout_height="wrap_content"
40            android:paddingEnd="12dp"
41            android:paddingBottom="4dp"
42            android:textColor="?android:attr/textColorPrimary"
43            android:textSize="16sp"
44            android:maxLines="5"
45            android:singleLine="false"
46            android:scrollHorizontally="false"
47            android:layout_alignParentStart="true"
48            android:layout_centerVertical="true"/>
49    <com.android.systemui.statusbar.KeyboardShortcutKeysLayout
50            android:id="@+id/keyboard_shortcuts_item_container"
51            android:layout_toEndOf="@+id/keyboard_shortcuts_keyword"
52            android:orientation="horizontal"
53            android:layout_width="wrap_content"
54            android:layout_height="wrap_content"
55            android:layout_alignParentEnd="true"
56            android:textSize="14sp"
57            android:scrollHorizontally="false"
58            android:layout_centerVertical="true"
59            android:focusable="true"/>
60</com.android.systemui.statusbar.KeyboardShortcutAppItemLayout>
61