Freigeben über


TextView.TextLocale Property

Definition

Get the default primary Locale of the text in this TextView. -or- Set the default Locale of the text in this TextView to a one-member LocaleList containing just the given Locale.

public virtual Java.Util.Locale TextLocale { [Android.Runtime.Register("getTextLocale", "()Ljava/util/Locale;", "GetGetTextLocaleHandler")] get; [Android.Runtime.Register("setTextLocale", "(Ljava/util/Locale;)V", "GetSetTextLocale_Ljava_util_Locale_Handler")] set; }
[<get: Android.Runtime.Register("getTextLocale", "()Ljava/util/Locale;", "GetGetTextLocaleHandler")>]
[<set: Android.Runtime.Register("setTextLocale", "(Ljava/util/Locale;)V", "GetSetTextLocale_Ljava_util_Locale_Handler")>]
member this.TextLocale : Java.Util.Locale with get, set

Property Value

the default primary Locale of the text in this TextView.

Attributes

Remarks

Property getter documentation:

Get the default primary Locale of the text in this TextView. This will always be the first member of #getTextLocales().

Java documentation for android.widget.TextView.getTextLocale().

Property setter documentation:

Set the default Locale of the text in this TextView to a one-member LocaleList containing just the given Locale.

Java documentation for android.widget.TextView.setTextLocale(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