blob: 214c44a41c5cd02602c78c341f21bafaa7565fdc [file] [log] [blame]
Steve Elliott936df152020-04-14 13:59:53 -04001<?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"
Steve Elliott61b11852020-06-11 15:43:28 -040023 android:paddingTop="1dp"
24 android:paddingBottom="1dp"
Steve Elliott936df152020-04-14 13:59:53 -040025 android:paddingEnd="12dp">
26
27 <FrameLayout
28 android:layout_width="@*android:dimen/conversation_content_start"
Steve Elliott61b11852020-06-11 15:43:28 -040029 android:layout_height="25dp"
Steve Elliott936df152020-04-14 13:59:53 -040030 >
31 <ImageView
32 android:id="@*android:id/conversation_icon"
Steve Elliott61b11852020-06-11 15:43:28 -040033 android:layout_width="20dp"
34 android:layout_height="20dp"
Steve Elliott936df152020-04-14 13:59:53 -040035 android:layout_gravity="center"
36 />
37
38 <ViewStub
39 android:id="@*android:id/conversation_face_pile"
40 android:layout="@*android:layout/conversation_face_pile_layout"
Steve Elliott61b11852020-06-11 15:43:28 -040041 android:layout_width="25dp"
42 android:layout_height="25dp"
Steve Elliott936df152020-04-14 13:59:53 -040043 android:layout_gravity="center"
44 />
45 </FrameLayout>
46
47 <TextView
48 android:id="@+id/notification_title"
49 android:layout_width="wrap_content"
50 android:layout_height="wrap_content"
51 android:singleLine="true"
Steve Elliott936df152020-04-14 13:59:53 -040052 android:paddingEnd="8dp"
53 android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Notification.Title"
54 />
55
56 <TextView
57 android:id="@+id/conversation_notification_sender"
Steve Elliottacc9fa82020-04-30 12:46:18 -040058 android:layout_width="wrap_content"
Steve Elliott936df152020-04-14 13:59:53 -040059 android:layout_height="wrap_content"
60 android:singleLine="true"
61 style="?attr/hybridNotificationTextStyle"
62 />
63
64 <TextView
65 android:id="@+id/notification_text"
66 android:layout_width="match_parent"
67 android:layout_height="wrap_content"
68 android:singleLine="true"
69 style="?attr/hybridNotificationTextStyle"
70 />
71</com.android.systemui.statusbar.notification.row.HybridConversationNotificationView>