Android.Views.Gravity Members

The members of Android.Views.Gravity are listed below.

See Also: Inherited members from Java.Lang.Object

Public Constructors

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

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