aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/main/res/layout/fragment_conversation.xml2
-rw-r--r--src/main/res/layout/message_content.xml28
2 files changed, 15 insertions, 15 deletions
diff --git a/src/main/res/layout/fragment_conversation.xml b/src/main/res/layout/fragment_conversation.xml
index de16ae5c4..1da8a5b25 100644
--- a/src/main/res/layout/fragment_conversation.xml
+++ b/src/main/res/layout/fragment_conversation.xml
@@ -110,7 +110,7 @@
<android.support.v7.widget.RecyclerView
android:id="@+id/media_preview"
- android:layout_width="wrap_content"
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/message_bubble_sent"
android:orientation="horizontal"
diff --git a/src/main/res/layout/message_content.xml b/src/main/res/layout/message_content.xml
index bf96cef95..64414c893 100644
--- a/src/main/res/layout/message_content.xml
+++ b/src/main/res/layout/message_content.xml
@@ -2,6 +2,20 @@
<merge xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
+ <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:textAppearance="@style/TextAppearance.Conversations.Body1" />
+
+ <de.pixart.messenger.ui.widget.RichLinkView
+ android:id="@+id/richLinkView"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:maxHeight="80dp" />
+
<com.makeramen.roundedimageview.RoundedImageView
android:id="@+id/message_image"
android:layout_width="wrap_content"
@@ -28,20 +42,6 @@
android:scaleType="centerCrop"
app:riv_corner_radius="@dimen/rounded_image_border" />
- <de.pixart.messenger.ui.widget.RichLinkView
- android:id="@+id/richLinkView"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:maxHeight="80dp" />
-
- <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:textAppearance="@style/TextAppearance.Conversations.Body1" />
-
<Button
android:id="@+id/download_button"
android:layout_width="wrap_content"