Enumerates values returned by several types.
Syntax
public enum TextAlignment
Remarks
Enumerates value returned by the following:
.
Members
Member Name | Description |
---|
Center | Center the paragraph, e.g. ALIGN_CENTER.
Use with View.TextAlignment |
Gravity | Default for the root view. The gravity determines the text alignment, ALIGN_NORMAL,
ALIGN_CENTER, or ALIGN_OPPOSITE, which are relative to each paragraph’s text direction.
Use with View.TextAlignment |
Inherit | |
TextEnd | Align to the end of the paragraph, e.g. ALIGN_OPPOSITE.
Use with View.TextAlignment |
TextStart | Align to the start of the paragraph, e.g. ALIGN_NORMAL.
Use with View.TextAlignment |
ViewEnd | Align to the end of the view, which is ALIGN_RIGHT if the view’s resolved
layoutDirection is LTR, and ALIGN_LEFT otherwise.
Use with View.TextAlignment |
ViewStart | Align to the start of the view, which is ALIGN_LEFT if the view’s resolved
layoutDirection is LTR, and ALIGN_RIGHT otherwise.
Use with View.TextAlignment |
Requirements
Namespace: Android.Views
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0