TextDirection Enum

Definition

Defines text-direction heuristics for a view.

public enum TextDirection
type TextDirection = 
Inheritance
TextDirection

Fields

Name Value Description
Inherit 0

Identifies the inherit text-direction heuristic.

FirstStrong 1

Text direction is using "first strong algorithm".

AnyRtl 2

Text direction is using "any-RTL" algorithm.

Ltr 3

Text direction is forced to LTR.

Rtl 4

Text direction is forced to RTL.

Locale 5

Text direction is coming from the system Locale.

FirstStrongLtr 6

Identifies the first strong left-to-right text-direction heuristic.

FirstStrongRtl 7

Identifies the first strong right-to-left text-direction heuristic.

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