ImageView.SetAdjustViewBounds(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Set this to true if you want the ImageView to adjust its bounds to preserve the aspect ratio of its drawable.
[Android.Runtime.Register("setAdjustViewBounds", "(Z)V", "GetSetAdjustViewBounds_ZHandler")]
public virtual void SetAdjustViewBounds (bool adjustViewBounds);
[<Android.Runtime.Register("setAdjustViewBounds", "(Z)V", "GetSetAdjustViewBounds_ZHandler")>]
abstract member SetAdjustViewBounds : bool -> unit
override this.SetAdjustViewBounds : bool -> unit
Parameters
- adjustViewBounds
- Boolean
Whether to adjust the bounds of this view to preserve the original aspect ratio of the drawable.
- Attributes
Remarks
Java documentation for android.widget.ImageView.setAdjustViewBounds(boolean).
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.