aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/res/layout/message_received.xml4
-rw-r--r--src/main/res/layout/message_sent.xml4
2 files changed, 6 insertions, 2 deletions
diff --git a/src/main/res/layout/message_received.xml b/src/main/res/layout/message_received.xml
index 60a566187..19df7c091 100644
--- a/src/main/res/layout/message_received.xml
+++ b/src/main/res/layout/message_received.xml
@@ -50,7 +50,9 @@
app:riv_border_width="1dp"
app:riv_border_color="@color/black12"
app:riv_corner_radius="5dp"
- android:scaleType="centerCrop" />
+ android:scaleType="centerCrop"
+ android:maxHeight="400dp"
+ android:maxWidth="400dp" />
<TextView
android:id="@+id/message_body"
diff --git a/src/main/res/layout/message_sent.xml b/src/main/res/layout/message_sent.xml
index 26c24509e..42cdc95a7 100644
--- a/src/main/res/layout/message_sent.xml
+++ b/src/main/res/layout/message_sent.xml
@@ -51,7 +51,9 @@
app:riv_border_width="1dp"
app:riv_border_color="@color/black12"
app:riv_corner_radius="5dp"
- android:scaleType="centerCrop" />
+ android:scaleType="centerCrop"
+ android:maxHeight="400dp"
+ android:maxWidth="400dp" />
<TextView
android:id="@+id/message_body"