Configuration.SetLayoutDirection(Locale) Method

Definition

Set the layout direction from a Locale.

[Android.Runtime.Register("setLayoutDirection", "(Ljava/util/Locale;)V", "")]
public void SetLayoutDirection (Java.Util.Locale? loc);
[<Android.Runtime.Register("setLayoutDirection", "(Ljava/util/Locale;)V", "")>]
member this.SetLayoutDirection : Java.Util.Locale -> unit

Parameters

loc
Locale

The Locale. If null will set the layout direction to View#LAYOUT_DIRECTION_LTR. If not null will set it to the layout direction corresponding to the Locale.

Attributes

Remarks

Set the layout direction from a Locale.

Java documentation for android.content.res.Configuration.setLayoutDirection(java.util.Locale).

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

See also