1<?xml version="1.0" encoding="utf-8"?>
2<layout xmlns:android="http://schemas.android.com/apk/res/android"
3 xmlns:app="http://schemas.android.com/apk/res-auto">
4
5 <merge>
6
7 <TextView
8 android:id="@+id/message_body"
9 android:layout_width="wrap_content"
10 android:layout_height="wrap_content"
11 android:layout_marginHorizontal="8dp"
12 android:layout_marginTop="4dp"
13 android:autoLink="web"
14 android:longClickable="false"
15 android:textAppearance="?textAppearanceBodyMedium" />
16
17 <ImageView
18 android:id="@+id/message_image"
19 android:layout_width="wrap_content"
20 android:layout_height="wrap_content"
21 android:adjustViewBounds="true"
22 android:background="@color/gray_800"
23 android:longClickable="true"
24 android:scaleType="centerCrop" />
25
26 <com.google.android.material.button.MaterialButton
27 android:id="@+id/download_button"
28 style="@style/Widget.Material3.Button.ElevatedButton"
29 android:layout_width="wrap_content"
30 android:layout_height="wrap_content"
31 android:layout_marginHorizontal="8dp"
32 android:layout_marginTop="4dp"
33 android:longClickable="true"
34 android:visibility="gone"
35 app:iconSize="24dp" />
36
37 <RelativeLayout
38 android:id="@+id/audio_player"
39 android:layout_width="@dimen/audio_player_width"
40 android:layout_height="wrap_content"
41 android:layout_marginHorizontal="8dp"
42 android:layout_marginVertical="4dp"
43 android:visibility="gone">
44
45 <ImageButton
46 android:id="@+id/play_pause"
47 android:layout_width="wrap_content"
48 android:layout_height="wrap_content"
49 android:layout_centerVertical="true"
50 android:background="?android:selectableItemBackgroundBorderless" />
51
52 <TextView
53 android:id="@+id/runtime"
54 android:layout_width="wrap_content"
55 android:layout_height="wrap_content"
56 android:layout_alignParentEnd="true"
57 android:layout_marginEnd="16dp"
58 android:layout_marginBottom="16dp"
59 android:textAppearance="?textAppearanceBodySmall" />
60
61 <SeekBar
62 android:id="@+id/progress"
63 android:layout_width="match_parent"
64 android:layout_height="wrap_content"
65 android:layout_below="@+id/runtime"
66 android:layout_centerVertical="true"
67 android:layout_toEndOf="@+id/play_pause"
68 android:progress="100" />
69 </RelativeLayout>
70
71 </merge>
72</layout>