1<?xml version="1.0" encoding="utf-8"?><!--
2  Copyright (C) 2019 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<FrameLayout
17    xmlns:android="http://schemas.android.com/apk/res/android"
18    android:layout_width="match_parent"
19    android:layout_height="64dp"
20    android:background="?android:attr/selectableItemBackground">
21
22    <LinearLayout
23        android:layout_width="match_parent"
24        android:layout_height="match_parent"
25        android:layout_gravity="start|top"
26        android:gravity="center_vertical">
27
28        <FrameLayout
29            android:id="@+id/icon_frame"
30            android:layout_width="wrap_content"
31            android:layout_height="match_parent"
32            android:orientation="horizontal"
33            android:paddingEnd="@dimen/controls_app_icon_frame_side_padding">
34
35            <ImageView
36                android:id="@android:id/icon"
37                android:layout_gravity="start|center_vertical"
38                android:layout_width="@dimen/controls_app_icon_size"
39                android:layout_height="@dimen/controls_app_icon_size" />
40        </FrameLayout>
41
42        <LinearLayout
43            android:layout_width="0dp"
44            android:layout_height="wrap_content"
45            android:layout_weight="1"
46            android:orientation="vertical">
47
48            <TextView
49                android:id="@android:id/title"
50                android:layout_width="wrap_content"
51                android:layout_height="wrap_content"
52                android:ellipsize="end"
53                android:fadingEdge="horizontal"
54                android:singleLine="true"
55                android:textAppearance="@style/TextAppearance.Control.Management.Subtitle"/>
56
57            <TextView
58                android:id="@+id/favorites"
59                android:layout_width="wrap_content"
60                android:layout_height="wrap_content"
61                android:ellipsize="end"
62                android:fadingEdge="horizontal"
63                android:singleLine="true"
64                android:textAppearance="?android:attr/textAppearanceSmall" />
65
66        </LinearLayout>
67
68    </LinearLayout>
69    <View
70        android:layout_width="match_parent"
71        android:layout_height="@dimen/controls_app_divider_height"
72        android:layout_gravity="center_horizontal|bottom"
73        android:background="?android:attr/listDivider" />
74</FrameLayout>