Android.Widget.GridLayout.LayoutParams.SetGravity Method
Describes how the child views are positioned.

Syntax

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

Parameters

gravity
the new gravity value

Remarks

Describes how the child views are positioned. Default is LEFT | BASELINE. See Android.Views.Gravity.

[Android Documentation]

Requirements

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