aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res/layout/message_content.xml
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2019-01-04 17:18:34 +0100
committerChristian Schneppe <christian@pix-art.de>2019-01-04 17:18:34 +0100
commit7685c46c5af7154c6fb59ab020a174923643bd48 (patch)
treed14edb2d89e3139ca58080c6013cc1ae3ccf24a7 /src/main/res/layout/message_content.xml
parent032630143a286f886c58f802d3c61c9a4ba3e99f (diff)
add preference to play gif files automatically in chat view
fixes #170 and #236
Diffstat (limited to '')
-rw-r--r--src/main/res/layout/message_content.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/main/res/layout/message_content.xml b/src/main/res/layout/message_content.xml
index 67c993cac..f14f310c3 100644
--- a/src/main/res/layout/message_content.xml
+++ b/src/main/res/layout/message_content.xml
@@ -15,6 +15,19 @@
android:scaleType="centerCrop"
app:riv_corner_radius="@dimen/rounded_image_border" />
+ <pl.droidsonroids.gif.GifImageView
+ android:id="@+id/message_image_gif"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="2dp"
+ android:layout_marginBottom="4dp"
+ android:adjustViewBounds="true"
+ android:longClickable="true"
+ android:maxWidth="500dp"
+ android:maxHeight="500dp"
+ android:scaleType="centerCrop"
+ app:riv_corner_radius="@dimen/rounded_image_border" />
+
<de.pixart.messenger.ui.widget.CopyTextView
android:id="@+id/message_body"
android:layout_width="wrap_content"