don't crop image when composing alt text

This commit is contained in:
sk 2022-05-21 17:27:31 +02:00
parent 080a320e12
commit 98de3a2984
1 changed files with 7 additions and 13 deletions

View File

@ -9,20 +9,14 @@
android:layout_height="wrap_content"
android:orientation="vertical">
<org.joinmastodon.android.ui.views.ComposeMediaLayout
android:layout_width="wrap_content"
<ImageView
android:id="@+id/photo"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal">
<ImageView
android:id="@+id/photo"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop"
android:importantForAccessibility="no"
tools:src="#0f0"/>
</org.joinmastodon.android.ui.views.ComposeMediaLayout>
android:scaleType="fitXY"
android:adjustViewBounds="true"
android:importantForAccessibility="no"
tools:src="#0f0" />
<TextView
android:id="@+id/title"