Configuration.LayoutDirection Property

Definition

Return the layout direction.

public Android.Views.LayoutDirection LayoutDirection { [Android.Runtime.Register("getLayoutDirection", "()I", "")] get; }
[<get: Android.Runtime.Register("getLayoutDirection", "()I", "")>]
member this.LayoutDirection : Android.Views.LayoutDirection

Property Value

Returns View#LAYOUT_DIRECTION_RTL if the configuration is #SCREENLAYOUT_LAYOUTDIR_RTL, otherwise View#LAYOUT_DIRECTION_LTR.

Attributes

Remarks

Return the layout direction. Will be either View#LAYOUT_DIRECTION_LTR or View#LAYOUT_DIRECTION_RTL.

Java documentation for android.content.res.Configuration.getLayoutDirection().

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