Android.Widget.Toast.SetGravity Method
Set the location at which the notification should appear on the screen.

Syntax

[Android.Runtime.Register("setGravity", "(III)V", "GetSetGravity_IIIHandler")]
public virtual void SetGravity ([Android.Runtime.GeneratedEnum] Android.Views.GravityFlags gravity, int xOffset, int yOffset)

See Also

Android.Views.Gravity
Toast.Gravity

Parameters

gravity
Documentation for this section has not yet been entered.
xOffset
Documentation for this section has not yet been entered.
yOffset
Documentation for this section has not yet been entered.

Remarks

Set the location at which the notification should appear on the screen.

[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