LocaleConfig.DefaultLocale Property

Definition

Returns the locale the strings in values/strings.

public virtual Java.Util.Locale? DefaultLocale { [Android.Runtime.Register("getDefaultLocale", "()Ljava/util/Locale;", "GetGetDefaultLocaleHandler", ApiSince=35)] get; }
[<get: Android.Runtime.Register("getDefaultLocale", "()Ljava/util/Locale;", "GetGetDefaultLocaleHandler", ApiSince=35)>]
member this.DefaultLocale : Java.Util.Locale

Property Value

The default Locale or null

Attributes

Remarks

Returns the locale the strings in values/strings.xml (the default strings in the directory with no locale qualifier) are in if specified, otherwise null

Java documentation for android.app.LocaleConfig.getDefaultLocale().

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