70 lines
2.5 KiB
XML
70 lines
2.5 KiB
XML
<?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"
|
|
android:textColor="?attr/color_text_primary"
|
|
android:textColorHighlight="@color/grey500"
|
|
android:textColorLink="@color/black87"
|
|
android:textSize="?attr/TextSizeBody"/>
|
|
|
|
<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"/>
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/audio_player"
|
|
android:layout_width="288dp"
|
|
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"
|
|
android:textColor="?attr/color_text_secondary"
|
|
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> |