View.SetMinimumHeight(Int32) Method

Definition

Sets the minimum height of the view.

[Android.Runtime.Register("setMinimumHeight", "(I)V", "GetSetMinimumHeight_IHandler")]
public virtual void SetMinimumHeight (int minHeight);
[<Android.Runtime.Register("setMinimumHeight", "(I)V", "GetSetMinimumHeight_IHandler")>]
abstract member SetMinimumHeight : int -> unit
override this.SetMinimumHeight : int -> unit

Parameters

minHeight
Int32

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

Attributes

Remarks

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

Java documentation for android.view.View.setMinimumHeight(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