| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
<merge xmlns:android="http://schemas.android.com/apk/res/android"> |
| 17 |
|
| 18 |
<LinearLayout |
| 19 |
android:id="@+id/bubble_flyout_text_container" |
| 20 |
android:layout_height="wrap_content" |
| 21 |
android:layout_width="wrap_content" |
| 22 |
android:orientation="horizontal" |
| 23 |
android:clipToPadding="false" |
| 24 |
android:clipChildren="false" |
| 25 |
android:paddingStart="@dimen/bubble_flyout_padding_x" |
| 26 |
android:paddingEnd="@dimen/bubble_flyout_padding_x" |
| 27 |
android:paddingTop="@dimen/bubble_flyout_padding_y" |
| 28 |
android:paddingBottom="@dimen/bubble_flyout_padding_y" |
| 29 |
android:translationZ="@dimen/bubble_flyout_elevation"> |
| 30 |
|
| 31 |
<ImageView |
| 32 |
android:id="@+id/bubble_flyout_avatar" |
| 33 |
android:layout_width="30dp" |
| 34 |
android:layout_height="30dp" |
| 35 |
android:layout_marginEnd="@dimen/bubble_flyout_avatar_message_space" |
| 36 |
android:scaleType="centerInside" |
| 37 |
android:src="@drawable/bubble_ic_create_bubble"/> |
| 38 |
|
| 39 |
<LinearLayout |
| 40 |
android:layout_width="wrap_content" |
| 41 |
android:layout_height="wrap_content" |
| 42 |
android:orientation="vertical"> |
| 43 |
|
| 44 |
<TextView |
| 45 |
android:id="@+id/bubble_flyout_name" |
| 46 |
android:layout_width="wrap_content" |
| 47 |
android:layout_height="wrap_content" |
| 48 |
android:fontFamily="@*android:string/config_bodyFontFamilyMedium" |
| 49 |
android:maxLines="1" |
| 50 |
android:ellipsize="end" |
| 51 |
android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Body2"/> |
| 52 |
|
| 53 |
<TextView |
| 54 |
android:id="@+id/bubble_flyout_text" |
| 55 |
android:layout_width="wrap_content" |
| 56 |
android:layout_height="wrap_content" |
| 57 |
android:fontFamily="@*android:string/config_bodyFontFamily" |
| 58 |
android:maxLines="2" |
| 59 |
android:ellipsize="end" |
| 60 |
android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Body2"/> |
| 61 |
|
| 62 |
</LinearLayout> |
| 63 |
|
| 64 |
</LinearLayout> |
| 65 |
|
| 66 |
</merge> |