TextAlignment TextAlignment Enum

Definition

Enumerates values returned by several types.

public enum TextAlignment
type TextAlignment = 
Inheritance
TextAlignmentTextAlignment

Fields

Center Center 4

Center the paragraph, e.g.

Gravity Gravity 1

Default for the root view.

Inherit Inherit 0
ResolvedDefault ResolvedDefault 131072
TextEnd TextEnd 3

Align to the end of the paragraph, e.g.

TextStart TextStart 2

Align to the start of the paragraph, e.g.

ViewEnd ViewEnd 6
ViewStart ViewStart 5

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to