Condividi tramite


View.SuggestedMinimumHeight Property

Definition

Returns the suggested minimum height that the view should use.

protected virtual int SuggestedMinimumHeight { [Android.Runtime.Register("getSuggestedMinimumHeight", "()I", "GetGetSuggestedMinimumHeightHandler")] get; }
[<get: Android.Runtime.Register("getSuggestedMinimumHeight", "()I", "GetGetSuggestedMinimumHeightHandler")>]
member this.SuggestedMinimumHeight : int

Property Value

The suggested minimum height of the view.

Attributes

Remarks

Returns the suggested minimum height that the view should use. This returns the maximum of the view's minimum height and the background's minimum height (android.graphics.drawable.Drawable#getMinimumHeight()).

When being used in #onMeasure(int, int), the caller should still ensure the returned height is within the requirements of the parent.

Java documentation for android.view.View.getSuggestedMinimumHeight().

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