Configuration.SetLocale(Locale) Method

Definition

Set the locale list to a list of just one locale.

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

Parameters

loc
Locale

The locale. Can be null.

Attributes

Remarks

Java documentation for android.content.res.Configuration.setLocale(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