resizeImageViewToBitmapDimensions

fun resizeImageViewToBitmapDimensions(bitmap: <Error class: unknown class>?, imageView: <Error class: unknown class>): <Error class: unknown class>

Resizes the ImageView to match the aspect ratio derived from the bitmap. Note that the width of the ImageView will be unchanged. Calls directly on the caller thread.