# HG changeset patch # User David Barts # Date 1614038707 28800 # Node ID 3aaf65a7fb9c66453e9fbfe16dfcd90be9daca72 # Parent eedf995462d968298750f65d2c56fcb7d2d264a9 adjustViewBounds to the rescue! diff -r eedf995462d9 -r 3aaf65a7fb9c app/src/main/res/layout/activity_edit_image.xml --- 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"