GravityWindow.SetLayout(int, System.Int32)
gravityThe desired gravity constant.
Set the gravity of the window, as per the Gravity constants. This controls how the window manager is positioned in the overall window; it is only useful when using WRAP_CONTENT for the layout width or height.
[Android Documentation]