blob: d2bcb04052a37232a1e8b45ea47692133be30059 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
<?xml version="1.0" encoding="utf-8"?>
<merge xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<com.makeramen.roundedimageview.RoundedImageView
android:id="@+id/message_image"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="4dp"
android:layout_marginTop="2dp"
android:adjustViewBounds="true"
android:longClickable="true"
android:maxHeight="500dp"
android:maxWidth="500dp"
android:scaleType="centerCrop"
app:riv_border_color="@color/grey500"
app:riv_border_width="1dp"
app:riv_corner_radius="5dp" />
<de.pixart.messenger.ui.widget.CopyTextView
android:id="@+id/message_body"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:autoLink="web"
android:longClickable="true"
android:textColor="@color/dark"
android:textColorHighlight="@color/grey800"
android:textColorLink="@color/dark"
android:textSize="?attr/TextSizeBody"
app:emojiSize="28sp" />
<Button
android:id="@+id/download_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:longClickable="true"
android:visibility="gone" />
<RelativeLayout
android:id="@+id/audio_player"
android:layout_width="@dimen/audio_player_width"
android:layout_height="wrap_content"
android:visibility="gone"
>
<ImageButton
android:id="@+id/play_pause"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:alpha="1.0"
android:background="?android:selectableItemBackground"/>
<TextView
android:id="@+id/runtime"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:layout_alignParentRight="true"
android:paddingBottom="16dp"
android:paddingRight="16dp"
android:textColor="@color/primary"
android:textSize="?attr/TextSizeInfo"/>
<SeekBar
android:id="@+id/progress"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/runtime"
android:layout_centerVertical="true"
android:layout_toRightOf="@+id/play_pause"
android:progress="100"/>
</RelativeLayout>
</merge>
|