2017-09-19 17:02:35 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<merge xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/message_image"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="4dp"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:adjustViewBounds="true"
|
|
|
|
android:background="@color/black87"
|
|
|
|
android:longClickable="true"
|
|
|
|
android:scaleType="centerCrop"/>
|
|
|
|
|
|
|
|
<eu.siacs.conversations.ui.widget.CopyTextView
|
|
|
|
android:id="@+id/message_body"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:autoLink="web"
|
|
|
|
android:longClickable="true"
|
2018-03-01 18:44:08 +00:00
|
|
|
android:textAppearance="@style/TextAppearance.Conversations.Body1"/>
|
2017-09-19 17:02:35 +00:00
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/download_button"
|
|
|
|
style="?android:attr/buttonStyleSmall"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:longClickable="true"
|
|
|
|
android:visibility="gone"/>
|
2017-09-20 13:35:35 +00:00
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/audio_player"
|
2017-09-27 08:21:34 +00:00
|
|
|
android:layout_width="@dimen/audio_player_width"
|
2017-09-20 13:35:35 +00:00
|
|
|
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="?attr/icon_alpha"
|
|
|
|
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"
|
2018-03-01 18:44:08 +00:00
|
|
|
android:textAppearance="@style/TextAppearance.Conversations.Caption"/>
|
2017-09-20 13:35:35 +00:00
|
|
|
|
|
|
|
<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>
|
|
|
|
|
2017-09-19 17:02:35 +00:00
|
|
|
</merge>
|