Mercurial > cgi-bin > hgweb.cgi > SimpleResizer
changeset 19:3aaf65a7fb9c concur2
adjustViewBounds to the rescue!
author | David Barts <n5jrn@me.com> |
---|---|
date | Mon, 22 Feb 2021 16:05:07 -0800 |
parents | eedf995462d9 |
children | 21be543e9127 |
files | app/src/main/res/layout/activity_edit_image.xml |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/app/src/main/res/layout/activity_edit_image.xml Mon Feb 22 07:04:31 2021 -0800 +++ b/app/src/main/res/layout/activity_edit_image.xml Mon Feb 22 16:05:07 2021 -0800 @@ -11,6 +11,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="5dp" + android:adjustViewBounds="true" android:contentDescription="Image being processed." android:scaleType="centerInside" app:layout_constraintBottom_toTopOf="@id/scale_button"