Steve Elliott | 936df15 | 2020-04-14 13:59:53 -0400 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | ~ Copyright (C) 2020 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 | |
| 18 | <com.android.systemui.statusbar.notification.row.HybridConversationNotificationView |
| 19 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 20 | android:layout_width="match_parent" |
| 21 | android:layout_height="wrap_content" |
| 22 | android:gravity="center_vertical|start" |
| 23 | android:paddingEnd="12dp"> |
| 24 | |
| 25 | <FrameLayout |
| 26 | android:layout_width="@*android:dimen/conversation_content_start" |
| 27 | android:layout_height="36dp" |
| 28 | > |
| 29 | <ImageView |
| 30 | android:id="@*android:id/conversation_icon" |
| 31 | android:layout_width="24dp" |
| 32 | android:layout_height="24dp" |
| 33 | android:layout_gravity="center" |
| 34 | /> |
| 35 | |
| 36 | <ViewStub |
| 37 | android:id="@*android:id/conversation_face_pile" |
| 38 | android:layout="@*android:layout/conversation_face_pile_layout" |
| 39 | android:layout_width="36dp" |
| 40 | android:layout_height="36dp" |
| 41 | android:layout_gravity="center" |
| 42 | /> |
| 43 | </FrameLayout> |
| 44 | |
| 45 | <TextView |
| 46 | android:id="@+id/notification_title" |
| 47 | android:layout_width="wrap_content" |
| 48 | android:layout_height="wrap_content" |
| 49 | android:singleLine="true" |
Steve Elliott | 936df15 | 2020-04-14 13:59:53 -0400 | [diff] [blame] | 50 | android:paddingEnd="8dp" |
| 51 | android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Notification.Title" |
| 52 | /> |
| 53 | |
| 54 | <TextView |
| 55 | android:id="@+id/conversation_notification_sender" |
Steve Elliott | acc9fa8 | 2020-04-30 12:46:18 -0400 | [diff] [blame] | 56 | android:layout_width="wrap_content" |
Steve Elliott | 936df15 | 2020-04-14 13:59:53 -0400 | [diff] [blame] | 57 | android:layout_height="wrap_content" |
| 58 | android:singleLine="true" |
| 59 | style="?attr/hybridNotificationTextStyle" |
| 60 | /> |
| 61 | |
| 62 | <TextView |
| 63 | android:id="@+id/notification_text" |
| 64 | android:layout_width="match_parent" |
| 65 | android:layout_height="wrap_content" |
| 66 | android:singleLine="true" |
| 67 | style="?attr/hybridNotificationTextStyle" |
| 68 | /> |
| 69 | </com.android.systemui.statusbar.notification.row.HybridConversationNotificationView> |