Android.Widget.Spinner.SetGravity Method
Describes how the selected item view is positioned.

Syntax

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

Parameters

gravity
See Android.Views.Gravity

Remarks

Describes how the selected item view is positioned. Currently only the horizontal component is used. The default is determined by the current theme.

[Android Documentation]

Requirements

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