Partager via


ImageView.AdjustViewBounds Property

Definition

True when ImageView is adjusting its bounds to preserve the aspect ratio of its drawable

public virtual bool AdjustViewBounds { [Android.Runtime.Register("getAdjustViewBounds", "()Z", "GetGetAdjustViewBoundsHandler")] get; }
[<get: Android.Runtime.Register("getAdjustViewBounds", "()Z", "GetGetAdjustViewBoundsHandler")>]
member this.AdjustViewBounds : bool

Property Value

whether to adjust the bounds of this view to preserve the original aspect ratio of the drawable

Attributes

Remarks

True when ImageView is adjusting its bounds to preserve the aspect ratio of its drawable

Java documentation for android.widget.ImageView.getAdjustViewBounds().

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

See also