Resource.Attribute.AdjustViewBounds Resource.Attribute.AdjustViewBounds Field


Set this to true if you want the ImageView to adjust its bounds to preserve the aspect ratio of its drawable.

public const int AdjustViewBounds = 16843038;
val mutable AdjustViewBounds : int

Field Value



Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to