setAspectRatio

open override fun setAspectRatio(aspectRatio: Float)

Instruct the view to use the given aspect ratio for the image.

Parameters

aspectRatio

aspectRatio for the image