• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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:paddingTop="1dp"
24    android:paddingBottom="1dp"
25    android:paddingEnd="12dp">
26
27    <FrameLayout
28        android:layout_width="@*android:dimen/conversation_content_start"
29        android:layout_height="25dp"
30    >
31        <ImageView
32            android:id="@*android:id/conversation_icon"
33            android:layout_width="20dp"
34            android:layout_height="20dp"
35            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"
41            android:layout_width="25dp"
42            android:layout_height="25dp"
43            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"
52        android:paddingEnd="8dp"
53        android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Notification.Title"
54    />
55
56    <TextView
57        android:id="@+id/conversation_notification_sender"
58        android:layout_width="wrap_content"
59        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>