Freigeben über


View.MeasuredHeightAndState Property

Definition

Return the full height measurement information for this view as computed by the most recent call to #measure(int, int).

public int MeasuredHeightAndState { [Android.Runtime.Register("getMeasuredHeightAndState", "()I", "")] get; }
[<get: Android.Runtime.Register("getMeasuredHeightAndState", "()I", "")>]
member this.MeasuredHeightAndState : int

Property Value

The measured height of this view as a bit mask.

Attributes

Remarks

Return the full height measurement information for this view as computed by the most recent call to #measure(int, int). This result is a bit mask as defined by #MEASURED_SIZE_MASK and #MEASURED_STATE_TOO_SMALL. This should be used during measurement and layout calculations only. Use #getHeight() to see how high a view is after layout.

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

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