Android.Views.GravityFlags Enumeration
Enumerates values returned by several types and taken as a parameter of several types.

Syntax

[System.Flags]
public enum GravityFlags

Remarks

Enumerates values returned by the following: and taken as a parameter of the following: .

Members

Member NameDescription
AxisClipRaw bit controlling whether the right/bottom edge is clipped to its container, based on the gravity direction being applied.
AxisPullAfterRaw bit controlling how the right/bottom edge is placed.
AxisPullBeforeRaw bit controlling how the left/top edge is placed.
AxisSpecifiedRaw bit indicating the gravity for an axis has been specified.
AxisXShiftBits defining the horizontal axis.
AxisYShiftBits defining the vertical axis.
BottomPush object to the bottom of its container, not changing its size.
CenterPlace the object in the center of its container in both the vertical and horizontal axis, not changing its size.
CenterHorizontalPlace object in the horizontal center of its container, not changing its size.
CenterVerticalPlace object in the vertical center of its container, not changing its size.
ClipHorizontalFlag to clip the edges of the object to its container along the horizontal axis.
ClipVerticalFlag to clip the edges of the object to its container along the vertical axis.
DisplayClipHorizontalSpecial constant to enable clipping to an overall display along the horizontal dimension. This is not applied by default by Gravity.Apply(GravityFlags, System.Int32, System.Int32, System.Int32, System.Int32, System.Int32, System.Int32); you must do so yourself by calling Gravity.ApplyDisplay(GravityFlags, Android.Graphics.Rect, Android.Graphics.Rect).
DisplayClipVerticalSpecial constant to enable clipping to an overall display along the vertical dimension. This is not applied by default by Gravity.Apply(GravityFlags, System.Int32, System.Int32, System.Int32, System.Int32, System.Int32, System.Int32); you must do so yourself by calling Gravity.ApplyDisplay(GravityFlags, Android.Graphics.Rect, Android.Graphics.Rect).
EndPush object to x-axis position at the end of its container, not changing its size.
FillGrow the horizontal and vertical size of the object if needed so it completely fills its container.
FillHorizontalGrow the horizontal size of the object if needed so it completely fills its container.
FillVerticalGrow the vertical size of the object if needed so it completely fills its container.
HorizontalGravityMaskBinary mask to get the absolute horizontal gravity of a gravity.
LeftPush object to the left of its container, not changing its size.
NoGravityConstant indicating that no gravity has been set
RelativeHorizontalGravityMaskBinary mask for the horizontal gravity and script specific direction bit.
RelativeLayoutDirectionRaw bit controlling whether the layout direction is relative or not (START/END instead of absolute LEFT/RIGHT).
RightPush object to the right of its container, not changing its size.
StartPush object to x-axis position at the start of its container, not changing its size.
TopPush object to the top of its container, not changing its size.
VerticalGravityMaskBinary mask to get the vertical gravity of a gravity.

Requirements

Namespace: Android.Views
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0