summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas <tschneider.ac@gmail.com>2023-02-06 17:42:00 +0100
committerThomas <tschneider.ac@gmail.com>2023-02-06 17:42:00 +0100
commit37bc798e387e749be61ffcc5b222749e21a33f6e (patch)
tree25d3f676a8dd17df1c1da042993637c86abd1658
parent5c73717373ee30ed52649c75be228630b5f4b9d2 (diff)
Fix some crashes
-rw-r--r--app/src/main/res/layouts/mastodon/layout/layout_media.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/src/main/res/layouts/mastodon/layout/layout_media.xml b/app/src/main/res/layouts/mastodon/layout/layout_media.xml
index 5746b5c2b..d1000e1fe 100644
--- a/app/src/main/res/layouts/mastodon/layout/layout_media.xml
+++ b/app/src/main/res/layouts/mastodon/layout/layout_media.xml
@@ -8,6 +8,7 @@
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/media"
+ android:adjustViewBounds="true"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_constraintEnd_toEndOf="parent"