共用方式為


FrameLayout.LayoutParams.UnspecifiedGravity Field

Definition

Value for #gravity indicating that a gravity has not been explicitly specified.

[Android.Runtime.Register("UNSPECIFIED_GRAVITY", ApiSince=24)]
public const int UnspecifiedGravity = -1;
[<Android.Runtime.Register("UNSPECIFIED_GRAVITY", ApiSince=24)>]
val mutable UnspecifiedGravity : int

Field Value

Value = -1
Attributes

Remarks

Value for #gravity indicating that a gravity has not been explicitly specified.

Java documentation for android.widget.FrameLayout.LayoutParams.UNSPECIFIED_GRAVITY.

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