Android.Widget.ListPopupWindow.SetDropDownGravity Method
Set the gravity of the dropdown list.

Syntax

[Android.Runtime.Register("setDropDownGravity", "(I)V", "GetSetDropDownGravity_IHandler")]
public virtual void SetDropDownGravity ([Android.Runtime.GeneratedEnum] Android.Views.GravityFlags gravity)

Parameters

gravity
Gravity value to use

Remarks

Set the gravity of the dropdown list. This is commonly used to set gravity to START or END for alignment with the anchor.

[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