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