blob: 54060c1a91ea05182bdf8a4980a78eaa97e24dad [file] [log] [blame]
Dan Sandlerb19460f2014-03-26 19:09:21 -04001<!--
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-->
John Spurlock802ddf92014-07-18 11:51:13 -040016
Dan Sandlerb19460f2014-03-26 19:09:21 -040017<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
18 android:layout_width="match_parent"
Fabrice Di Meglio7bc9c1b2014-07-21 13:19:06 -070019 android:layout_height="wrap_content"
John Spurlock802ddf92014-07-18 11:51:13 -040020 android:background="?android:attr/listChoiceBackgroundIndicator"
Fabrice Di Meglio7bc9c1b2014-07-21 13:19:06 -070021 android:paddingStart="?android:attr/listPreferredItemPaddingStart"
22 android:paddingEnd="?android:attr/listPreferredItemPaddingEnd">
Dan Sandlerb19460f2014-03-26 19:09:21 -040023
Dan Sandlerb19460f2014-03-26 19:09:21 -040024 <ImageView
John Spurlock802ddf92014-07-18 11:51:13 -040025 android:id="@android:id/icon"
John Spurlock4a350512014-04-08 14:08:21 -040026 android:layout_width="@dimen/notification_app_icon_size"
27 android:layout_height="@dimen/notification_app_icon_size"
Dan Sandlerb19460f2014-03-26 19:09:21 -040028 android:layout_centerVertical="true"
John Spurlock802ddf92014-07-18 11:51:13 -040029 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" />
Dan Sandlerb19460f2014-03-26 19:09:21 -040054
John Spurlock4a350512014-04-08 14:08:21 -040055 <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>