conversations-classic/src/main/res/layout/message_content.xml

66 lines
2.3 KiB
XML
Raw Normal View History

<?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"/>
<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"
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>
</merge>