Android Guides | Samples

Android.Views.WindowManagerLayoutParams.X Property

X position for this window.

Syntax

[Android.Runtime.Register("x")]
public Int32 X { get; set; }

Remarks

X position for this window. With the default gravity it is ignored. When using Gravity.LEFT or Gravity.START or Gravity.RIGHT or Gravity.END it provides an offset from the given edge.

[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