Android.Widget.GridView.SetGravity Method
Set the gravity for this grid.

Syntax

[Android.Runtime.Register("setGravity", "(I)V", "GetSetGravity_IHandler")]
public virtual void SetGravity ([Android.Runtime.GeneratedEnum] Android.Views.GravityFlags gravity)

Parameters

gravity
the gravity to apply to this grid's children

Remarks

Set the gravity for this grid. Gravity describes how the child views are horizontally aligned. Defaults to Gravity.LEFT

[Android Documentation]

Requirements

Namespace: Android.Widget
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1