1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2024 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<!-- extends LinearLayout --> 19<com.android.systemui.statusbar.notification.row.HybridConversationNotificationView 20 xmlns:android="http://schemas.android.com/apk/res/android" 21 android:layout_width="match_parent" 22 android:layout_height="wrap_content" 23 android:gravity="center_vertical|start" 24 android:paddingStart="@*android:dimen/notification_2025_content_margin_start" 25 android:paddingEnd="12dp"> 26 27 <FrameLayout 28 android:layout_width="@dimen/notification_2025_single_line_face_pile_size" 29 android:layout_height="@dimen/notification_2025_single_line_face_pile_size" 30 android:layout_marginEnd="8dp" 31 > 32 <com.android.internal.widget.CachingIconView 33 android:id="@*android:id/conversation_icon" 34 android:layout_width="@dimen/notification_2025_single_line_avatar_size" 35 android:layout_height="@dimen/notification_2025_single_line_avatar_size" 36 android:layout_gravity="center_vertical|end" 37 android:background="@*android:drawable/notification_icon_circle" 38 android:clipToOutline="true" 39 /> 40 41 <ViewStub 42 android:id="@*android:id/conversation_face_pile" 43 android:layout="@*android:layout/notification_2025_conversation_face_pile_layout" 44 android:layout_width="@dimen/notification_2025_single_line_face_pile_size" 45 android:layout_height="@dimen/notification_2025_single_line_face_pile_size" 46 android:layout_gravity="center_vertical|end" 47 /> 48 </FrameLayout> 49 50 <TextView 51 android:id="@+id/notification_title" 52 android:layout_width="wrap_content" 53 android:layout_height="wrap_content" 54 android:singleLine="true" 55 android:paddingEnd="4dp" 56 android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Notification.Title" 57 /> 58 59 <TextView 60 android:id="@+id/conversation_notification_sender" 61 android:layout_width="wrap_content" 62 android:layout_height="wrap_content" 63 android:singleLine="true" 64 android:paddingEnd="4dp" 65 style="@*android:style/Widget.DeviceDefault.Notification.Text" 66 /> 67 68 <TextView 69 android:id="@+id/notification_text" 70 android:layout_width="match_parent" 71 android:layout_height="wrap_content" 72 android:singleLine="true" 73 android:paddingEnd="4dp" 74 style="@*android:style/Widget.DeviceDefault.Notification.Text" 75 /> 76</com.android.systemui.statusbar.notification.row.HybridConversationNotificationView> 77