Compartir a través de


View.SetMinimumWidth(Int32) Method

Definition

Sets the minimum width of the view.

[Android.Runtime.Register("setMinimumWidth", "(I)V", "GetSetMinimumWidth_IHandler")]
public virtual void SetMinimumWidth (int minWidth);
[<Android.Runtime.Register("setMinimumWidth", "(I)V", "GetSetMinimumWidth_IHandler")>]
abstract member SetMinimumWidth : int -> unit
override this.SetMinimumWidth : int -> unit

Parameters

minWidth
Int32

The minimum width the view will try to be, in pixels

Attributes

Remarks

Sets the minimum width of the view. It is not guaranteed the view will be able to achieve this minimum width (for example, if its parent layout constrains it with less available width).

Java documentation for android.view.View.setMinimumWidth(int).

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