Android.Views.TextAlignment Enumeration
Enumerates values returned by several types.

Syntax

public enum TextAlignment

Remarks

Enumerates value returned by the following: .

Members

Member NameDescription
CenterCenter the paragraph, e.g. ALIGN_CENTER. Use with View.TextAlignment
GravityDefault 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
TextEndAlign to the end of the paragraph, e.g. ALIGN_OPPOSITE. Use with View.TextAlignment
TextStartAlign to the start of the paragraph, e.g. ALIGN_NORMAL. Use with View.TextAlignment
ViewEndAlign 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
ViewStartAlign 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