Compartir a través de


GridView.Gravity Property

Definition

Describes how the child views are horizontally aligned.

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

Property Value

the gravity that will be applied to this grid's children

Attributes

Remarks

Describes how the child views are horizontally aligned. Defaults to Gravity.LEFT

Java documentation for android.widget.GridView.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