Android.Widget.Toast.SetMargin Method
Set the margins of the view.

Syntax

[Android.Runtime.Register("setMargin", "(FF)V", "GetSetMargin_FFHandler")]
public virtual void SetMargin (float horizontalMargin, float verticalMargin)

Parameters

horizontalMargin
The horizontal margin, in percentage of the container width, between the container's edges and the notification
verticalMargin
The vertical margin, in percentage of the container height, between the container's edges and the notification

Remarks

Set the margins of the view.

[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