Megosztás a következőn keresztül:


View.MeasuredState Property

Definition

Return only the state bits of #getMeasuredWidthAndState() and #getMeasuredHeightAndState(), combined into one integer.

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

Property Value

Attributes

Remarks

Return only the state bits of #getMeasuredWidthAndState() and #getMeasuredHeightAndState(), combined into one integer. The width component is in the regular bits #MEASURED_STATE_MASK and the height component is at the shifted bits #MEASURED_HEIGHT_STATE_SHIFT>>#MEASURED_STATE_MASK.

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

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