Android Guides | Samples

Android.Views.WindowManagerLayoutParams.VerticalMargin Property

The vertical margin, as a percentage of the container's height, between the container and the widget.

Syntax

[Android.Runtime.Register("verticalMargin")]
public Single VerticalMargin { get; set; }

Remarks

The vertical margin, as a percentage of the container's height, between the container and the widget. See Gravity.Apply(GravityFlags,Int32,Int32,Int32,Int32,Int32,Int32) for how this is used. This field is added with WindowManagerLayoutParams.Y to supply the yAdj parameter.

[Android Documentation]

Requirements

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