Mercurial > cgi-bin > hgweb.cgi > SimpleResizer
comparison app/src/main/res/layout/activity_edit_image.xml @ 19:3aaf65a7fb9c concur2
adjustViewBounds to the rescue!
author | David Barts <n5jrn@me.com> |
---|---|
date | Mon, 22 Feb 2021 16:05:07 -0800 |
parents | 5626557ac542 |
children | 45e4df5226c0 |
comparison
equal
deleted
inserted
replaced
18:eedf995462d9 | 19:3aaf65a7fb9c |
---|---|
9 <ImageView | 9 <ImageView |
10 android:id="@+id/image" | 10 android:id="@+id/image" |
11 android:layout_width="wrap_content" | 11 android:layout_width="wrap_content" |
12 android:layout_height="wrap_content" | 12 android:layout_height="wrap_content" |
13 android:layout_marginBottom="5dp" | 13 android:layout_marginBottom="5dp" |
14 android:adjustViewBounds="true" | |
14 android:contentDescription="Image being processed." | 15 android:contentDescription="Image being processed." |
15 android:scaleType="centerInside" | 16 android:scaleType="centerInside" |
16 app:layout_constraintBottom_toTopOf="@id/scale_button" | 17 app:layout_constraintBottom_toTopOf="@id/scale_button" |
17 app:layout_constraintEnd_toEndOf="parent" | 18 app:layout_constraintEnd_toEndOf="parent" |
18 app:layout_constraintStart_toStartOf="parent" | 19 app:layout_constraintStart_toStartOf="parent" |