語言

TextView.TextLocales 屬性

定義

取得此 TextView 中文字的預設值 LocaleList 。 -或- 將此 TextView 中的文字預設值 LocaleList 設定為指定的值。

public virtual Android.OS.LocaleList TextLocales { [Android.Runtime.Register("getTextLocales", "()Landroid/os/LocaleList;", "GetGetTextLocalesHandler", ApiSince=24)] get; [Android.Runtime.Register("setTextLocales", "(Landroid/os/LocaleList;)V", "GetSetTextLocales_Landroid_os_LocaleList_Handler", ApiSince=24)] set; }
[<get: Android.Runtime.Register("getTextLocales", "()Landroid/os/LocaleList;", "GetGetTextLocalesHandler", ApiSince=24)>]
[<set: Android.Runtime.Register("setTextLocales", "(Landroid/os/LocaleList;)V", "GetSetTextLocales_Landroid_os_LocaleList_Handler", ApiSince=24)>]
member this.TextLocales : Android.OS.LocaleList with get, set

屬性值

此文本檢視中預設 LocaleList 的文字。

屬性

備註

財產取得者文件:

取得此 TextView 中文字的預設值 LocaleList 。

的 android.widget.TextView.getTextLocales()Java 檔。

屬性設定文件:

在此 TextView 中將文字預設 LocaleList 值設為給定值。

此數值用於選擇適合歧義字體的字體(通常用於中日韓文地區用來辨識漢字/漢字/漢字)。 它也影響文字顯示的其他面向,包括換行。

的 android.widget.TextView.setTextLocales(android.os.LocaleList)Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於