Android Guides | Samples

Android.Views.WindowManagerLayoutParams.X Property

X position for this window.


public Int32 X { get; set; }


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]


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