1<!--
2     Copyright (C) 2014 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
17<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
18    android:layout_width="match_parent"
19    android:layout_height="wrap_content"
20    android:background="?android:attr/listChoiceBackgroundIndicator"
21    android:paddingStart="?android:attr/listPreferredItemPaddingStart"
22    android:paddingEnd="?android:attr/listPreferredItemPaddingEnd">
23
24    <ImageView
25        android:id="@android:id/icon"
26        android:layout_width="@dimen/notification_app_icon_size"
27        android:layout_height="@dimen/notification_app_icon_size"
28        android:layout_centerVertical="true"
29        android:contentDescription="@null"
30        android:padding="8dp" />
31
32    <TextView
33        android:id="@android:id/title"
34        android:layout_width="match_parent"
35        android:layout_height="wrap_content"
36        android:layout_centerVertical="true"
37        android:layout_toEndOf="@android:id/icon"
38        android:ellipsize="end"
39        android:singleLine="true"
40        android:textAlignment="viewStart"
41        android:textAppearance="?android:attr/textAppearanceMedium" />
42
43    <TextView
44        android:id="@android:id/text1"
45        android:layout_width="match_parent"
46        android:layout_height="@dimen/notification_app_icon_size"
47        android:layout_toEndOf="@android:id/icon"
48        android:gravity="bottom"
49        android:ellipsize="end"
50        android:singleLine="true"
51        android:textAlignment="viewStart"
52        android:textColor="?android:attr/textColorSecondary"
53        android:textAppearance="?android:attr/textAppearanceSmall" />
54
55    <View
56        android:id="@+id/row_divider"
57        android:layout_width="match_parent"
58        android:layout_height="wrap_content"
59        android:background="?android:attr/listDivider" />
60
61</RelativeLayout>