1<?xml version="1.0" encoding="utf-8"?><!-- 2 ~ Copyright (C) 2024 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 --> 16<merge 17 xmlns:android="http://schemas.android.com/apk/res/android" 18 xmlns:app="http://schemas.android.com/apk/res-auto" 19 xmlns:tools="http://schemas.android.com/tools"> 20 21 <ImageView 22 android:id="@+id/bubble_flyout_icon" 23 android:layout_width="50dp" 24 android:layout_height="36dp" 25 android:paddingEnd="@dimen/bubblebar_flyout_avatar_message_space" 26 android:scaleType="centerInside" 27 app:layout_constraintTop_toTopOf="parent" 28 app:layout_constraintBottom_toBottomOf="parent" 29 app:layout_constraintStart_toStartOf="parent" 30 tools:src="#ff0000"/> 31 32 <TextView 33 android:id="@+id/bubble_flyout_title" 34 android:layout_width="0dp" 35 android:layout_height="wrap_content" 36 android:fontFamily="@*android:string/config_bodyFontFamilyMedium" 37 android:maxLines="1" 38 android:ellipsize="end" 39 app:layout_constraintTop_toTopOf="parent" 40 app:layout_constraintStart_toEndOf="@id/bubble_flyout_icon" 41 tools:text="Sender"/> 42 43 <TextView 44 android:id="@+id/bubble_flyout_text" 45 android:layout_width="0dp" 46 android:layout_height="wrap_content" 47 android:fontFamily="@*android:string/config_bodyFontFamily" 48 android:maxLines="2" 49 android:ellipsize="end" 50 app:layout_constraintTop_toBottomOf="@id/bubble_flyout_title" 51 app:layout_constraintStart_toEndOf="@id/bubble_flyout_icon" 52 tools:text="This is a message"/> 53 54</merge> 55