Share via


Drawable.MinimumHeight Property

Definition

Returns the minimum height suggested by this Drawable.

public virtual int MinimumHeight { [Android.Runtime.Register("getMinimumHeight", "()I", "GetGetMinimumHeightHandler")] get; }
[<get: Android.Runtime.Register("getMinimumHeight", "()I", "GetGetMinimumHeightHandler")>]
member this.MinimumHeight : int

Property Value

The minimum height suggested by this Drawable. If this Drawable doesn't have a suggested minimum height, 0 is returned.

Attributes

Remarks

Returns the minimum height suggested by this Drawable. If a View uses this Drawable as a background, it is suggested that the View use at least this value for its height. (There will be some scenarios where this will not be possible.) This value should INCLUDE any padding.

Java documentation for android.graphics.drawable.Drawable.getMinimumHeight().

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