Teanga

TextDirection Enum

Definition

Defines text-direction heuristics for a view.

public enum TextDirection
type TextDirection = 
Inheritance
TextDirection

Fields

Name Value Description
Inherit 0

Text direction is inherited through ViewGroup.

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

Text direction is using "first strong algorithm". The first strong directional character determines the paragraph direction. If there is no strong directional character, the paragraph direction is LTR.

FirstStrongRtl 7

Text direction is using "first strong algorithm". The first strong directional character determines the paragraph direction. If there is no strong directional character, the paragraph direction is RTL.

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