Partager via


View.TextDirectionAnyRtl Field

Definition

Caution

This constant will be removed in the future version. Use Android.Views.TextDirection enum directly instead of this field.

Text direction is using "any-RTL" algorithm.

[Android.Runtime.Register("TEXT_DIRECTION_ANY_RTL")]
[System.Obsolete("This constant will be removed in the future version. Use Android.Views.TextDirection enum directly instead of this field.", true)]
public const Android.Views.TextDirection TextDirectionAnyRtl = 2;
[<Android.Runtime.Register("TEXT_DIRECTION_ANY_RTL")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Views.TextDirection enum directly instead of this field.", true)>]
val mutable TextDirectionAnyRtl : Android.Views.TextDirection

Field Value

Value = 2
Attributes

Remarks

Text direction is using "any-RTL" algorithm. The paragraph direction is RTL if it contains any strong RTL character, otherwise it is LTR if it contains any strong LTR characters. If there are neither, the paragraph direction is the view's resolved layout direction.

Java documentation for android.view.View.TEXT_DIRECTION_ANY_RTL.

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