Dan Sandler | b19460f | 2014-03-26 19:09:21 -0400 | [diff] [blame] | 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 | --> |
John Spurlock | 802ddf9 | 2014-07-18 11:51:13 -0400 | [diff] [blame] | 16 | |
Dan Sandler | b19460f | 2014-03-26 19:09:21 -0400 | [diff] [blame] | 17 | <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 18 | android:layout_width="match_parent" |
Fabrice Di Meglio | 7bc9c1b | 2014-07-21 13:19:06 -0700 | [diff] [blame] | 19 | android:layout_height="wrap_content" |
John Spurlock | 802ddf9 | 2014-07-18 11:51:13 -0400 | [diff] [blame] | 20 | android:background="?android:attr/listChoiceBackgroundIndicator" |
Fabrice Di Meglio | 7bc9c1b | 2014-07-21 13:19:06 -0700 | [diff] [blame] | 21 | android:paddingStart="?android:attr/listPreferredItemPaddingStart" |
| 22 | android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"> |
Dan Sandler | b19460f | 2014-03-26 19:09:21 -0400 | [diff] [blame] | 23 | |
Dan Sandler | b19460f | 2014-03-26 19:09:21 -0400 | [diff] [blame] | 24 | <ImageView |
John Spurlock | 802ddf9 | 2014-07-18 11:51:13 -0400 | [diff] [blame] | 25 | android:id="@android:id/icon" |
John Spurlock | 4a35051 | 2014-04-08 14:08:21 -0400 | [diff] [blame] | 26 | android:layout_width="@dimen/notification_app_icon_size" |
| 27 | android:layout_height="@dimen/notification_app_icon_size" |
Dan Sandler | b19460f | 2014-03-26 19:09:21 -0400 | [diff] [blame] | 28 | android:layout_centerVertical="true" |
John Spurlock | 802ddf9 | 2014-07-18 11:51:13 -0400 | [diff] [blame] | 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" /> |
Dan Sandler | b19460f | 2014-03-26 19:09:21 -0400 | [diff] [blame] | 54 | |
John Spurlock | 4a35051 | 2014-04-08 14:08:21 -0400 | [diff] [blame] | 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> |