aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res/layout/message_sent.xml
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2017-09-24 20:36:42 +0200
committerChristian Schneppe <christian@pix-art.de>2017-09-24 20:36:42 +0200
commit1f91140e949bfe3d1c7a053527b76a30d24ac294 (patch)
tree0b2d22e49d457d66a294472da3cba8b03642f909 /src/main/res/layout/message_sent.xml
parent7cf31ad64589d956e02a1c751192d583fd5c8cc4 (diff)
removed duplicate code from message bubble layouts
Diffstat (limited to '')
-rw-r--r--src/main/res/layout/message_sent.xml34
1 files changed, 1 insertions, 33 deletions
diff --git a/src/main/res/layout/message_sent.xml b/src/main/res/layout/message_sent.xml
index 80fae0d02..b19765e79 100644
--- a/src/main/res/layout/message_sent.xml
+++ b/src/main/res/layout/message_sent.xml
@@ -42,39 +42,7 @@
android:orientation="vertical"
android:padding="2dp">
- <com.makeramen.roundedimageview.RoundedImageView
- android:id="@+id/message_image"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="2dp"
- android:layout_marginBottom="4dp"
- android:adjustViewBounds="true"
- android:longClickable="true"
- app:riv_border_width="1dp"
- app:riv_border_color="@color/grey500"
- app:riv_corner_radius="5dp"
- android:scaleType="centerCrop"
- android:maxHeight="500dp"
- android:maxWidth="500dp" />
-
- <de.pixart.messenger.ui.widget.CopyTextView
- android:id="@+id/message_body"
- app:emojiSize="28sp"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:autoLink="web"
- android:longClickable="true"
- android:textColorLink="@color/black54"
- android:textColor="@color/black54"
- android:textColorHighlight="@color/grey500"
- android:textSize="?attr/TextSizeBody" />
-
- <Button
- android:id="@+id/download_button"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:longClickable="true"
- android:visibility="gone" />
+ <include layout="@layout/message_content"/>
<Button
android:id="@+id/resend_button"