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


LinearLayout.Gravity Property

Definition

Returns the current gravity.

public virtual Android.Views.GravityFlags Gravity { [Android.Runtime.Register("getGravity", "()I", "GetGetGravityHandler", ApiSince=24)] get; }
[<get: Android.Runtime.Register("getGravity", "()I", "GetGetGravityHandler", ApiSince=24)>]
member this.Gravity : Android.Views.GravityFlags

Property Value

the current gravity.

Attributes

Remarks

Returns the current gravity. See android.view.Gravity

Java documentation for android.widget.LinearLayout.getGravity().

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