共用方式為


View.MeasuredHeightStateShift Field

Definition

Bit shift of #MEASURED_STATE_MASK to get to the height bits for functions that combine both width and height into a single int, such as #getMeasuredState() and the childState argument of #resolveSizeAndState(int, int, int).

[Android.Runtime.Register("MEASURED_HEIGHT_STATE_SHIFT")]
public const int MeasuredHeightStateShift = 16;
[<Android.Runtime.Register("MEASURED_HEIGHT_STATE_SHIFT")>]
val mutable MeasuredHeightStateShift : int

Field Value

Value = 16
Attributes

Remarks

Bit shift of #MEASURED_STATE_MASK to get to the height bits for functions that combine both width and height into a single int, such as #getMeasuredState() and the childState argument of #resolveSizeAndState(int, int, int).

Java documentation for android.view.View.MEASURED_HEIGHT_STATE_SHIFT.

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