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 <LinearLayout
8 android:id="@+id/in_reply_to_box"
9 android:layout_width="wrap_content"
10 android:layout_height="wrap_content"
11 android:orientation="horizontal"
12 android:visibility="gone">
13
14 <ImageView
15 android:src="@drawable/ic_reply_24dp"
16 android:layout_width="14sp"
17 android:layout_height="14sp"
18 android:layout_gravity="center_vertical"
19 android:layout_marginStart="5dp"
20 android:layout_marginEnd="2dp"
21 android:contentDescription="in reply to" />
22
23 <TextView
24 android:id="@+id/in_reply_to"
25 android:layout_width="wrap_content"
26 android:layout_height="wrap_content"
27 android:layout_marginEnd="10dp"
28 android:textStyle="bold|italic"
29 android:longClickable="false"
30 android:textAppearance="?textAppearanceBodyMedium" />
31 </LinearLayout>
32
33 <TextView
34 android:id="@+id/in_reply_to_quote"
35 android:layout_width="wrap_content"
36 android:layout_height="wrap_content"
37 android:layout_marginHorizontal="10dp"
38 android:layout_marginBottom="2dp"
39 android:longClickable="false"
40 android:visibility="gone"
41 android:textAppearance="?textAppearanceBodyMedium" />
42
43 <LinearLayout
44 android:layout_width="wrap_content"
45 android:layout_height="wrap_content"
46 android:layout_gravity="center_horizontal"
47 android:orientation="horizontal">
48
49 <com.google.android.material.imageview.ShapeableImageView
50 android:id="@+id/message_image"
51 android:layout_width="wrap_content"
52 android:layout_height="wrap_content"
53 android:adjustViewBounds="true"
54 android:background="@color/gray_800"
55 android:longClickable="true"
56 android:scaleType="centerCrop"
57 app:shapeAppearance="@style/ShapeAppearanceOverlay.MessageImage" />
58 </LinearLayout>
59
60 <TextView
61 android:id="@+id/message_body"
62 android:layout_width="wrap_content"
63 android:layout_height="wrap_content"
64 android:layout_marginHorizontal="10dp"
65 android:paddingTop="4dp"
66 android:autoLink="web"
67 android:longClickable="false"
68 android:textAppearance="?textAppearanceBodyMedium" />
69
70 <com.google.android.material.button.MaterialButton
71 android:id="@+id/download_button"
72 style="@style/Widget.Material3.Button.ElevatedButton"
73 android:layout_width="wrap_content"
74 android:layout_height="wrap_content"
75 android:layout_marginHorizontal="10dp"
76 android:layout_marginTop="4dp"
77 android:layout_gravity="center"
78 android:longClickable="true"
79 android:visibility="gone"
80 app:iconSize="24dp" />
81
82 <ListView
83 android:id="@+id/commands_list"
84 android:visibility="gone"
85 android:layout_width="wrap_content"
86 android:layout_height="wrap_content"
87 android:layout_gravity="center"
88 android:layout_marginHorizontal="10dp"
89 android:divider="@android:color/transparent"
90 android:dividerHeight="0dp"></ListView>
91
92 <ListView
93 android:id="@+id/link_descriptions"
94 android:layout_width="match_parent"
95 android:layout_height="wrap_content"
96 android:layout_marginHorizontal="10dp"
97 android:divider="@android:color/transparent"
98 android:dividerHeight="4dp"></ListView>
99
100 <RelativeLayout
101 android:id="@+id/audio_player"
102 android:layout_width="@dimen/audio_player_width"
103 android:layout_height="wrap_content"
104 android:layout_marginHorizontal="10dp"
105 android:layout_marginVertical="4dp"
106 android:visibility="gone">
107
108 <ImageButton
109 android:id="@+id/play_pause"
110 android:layout_width="wrap_content"
111 android:layout_height="wrap_content"
112 android:layout_centerVertical="true"
113 android:background="?android:selectableItemBackgroundBorderless" />
114
115 <TextView
116 android:id="@+id/runtime"
117 android:layout_width="wrap_content"
118 android:layout_height="wrap_content"
119 android:layout_alignParentEnd="true"
120 android:layout_marginEnd="16dp"
121 android:layout_marginBottom="16dp"
122 android:textAppearance="?textAppearanceBodySmall" />
123
124 <SeekBar
125 android:id="@+id/progress"
126 android:layout_width="match_parent"
127 android:layout_height="wrap_content"
128 android:layout_below="@+id/runtime"
129 android:layout_centerVertical="true"
130 android:layout_toEndOf="@+id/play_pause"
131 android:progress="100" />
132 </RelativeLayout>
133
134 </merge>
135</layout>