Android.Views.Gravity: Method Members

The methods of Android.Views.Gravity are listed below. For a list of all members, see the Gravity Members list.

See Also: Inherited members from Java.Lang.Object

Public Methods

static
Apply(GravityFlags, int, int, Android.Graphics.Rect, Android.Graphics.Rect)
Apply a gravity constant to an object.
static
Apply(GravityFlags, int, int, Android.Graphics.Rect, Android.Graphics.Rect, int)
Apply a gravity constant to an object and take care if layout direction is RTL or not.
static
Apply(GravityFlags, int, int, Android.Graphics.Rect, int, int, Android.Graphics.Rect)
Apply a gravity constant to an object.
static
Apply(GravityFlags, int, int, Android.Graphics.Rect, int, int, Android.Graphics.Rect, int)
Apply a gravity constant to an object.
static
ApplyDisplay(GravityFlags, Android.Graphics.Rect, Android.Graphics.Rect)
Apply additional gravity behavior based on the overall "display" that an object exists in.
static
ApplyDisplay(GravityFlags, Android.Graphics.Rect, Android.Graphics.Rect, int)
Apply additional gravity behavior based on the overall "display" that an object exists in.
static
GetAbsoluteGravity(GravityFlags, GravityFlags) : GravityFlags
if horizontal direction is LTR, then START will set LEFT and END will set RIGHT. if horizontal direction is RTL, then START will set RIGHT and END will set LEFT.
static
IsHorizontal(GravityFlags) : bool
static
IsVertical(GravityFlags) : bool