TextUtils.GetLayoutDirectionFromLocale(Locale) メソッド

定義

特定のロケールのレイアウト方向を返します

[Android.Runtime.Register("getLayoutDirectionFromLocale", "(Ljava/util/Locale;)I", "")]
public static Android.Views.TextDirection GetLayoutDirectionFromLocale (Java.Util.Locale? locale);
[<Android.Runtime.Register("getLayoutDirectionFromLocale", "(Ljava/util/Locale;)I", "")>]
static member GetLayoutDirectionFromLocale : Java.Util.Locale -> Android.Views.TextDirection

パラメーター

locale
Locale

レイアウトの方向を指定するロケール。 null を使用できます。

戻り値

レイアウトの方向。 これは、 または android.view.View#LAYOUT_DIRECTION_RTLのいずれかandroid.view.View#LAYOUT_DIRECTION_LTRです。

        Be careful: this code will need to be updated when vertical scripts will be supported
属性

注釈

特定のロケールのレイアウト方向を返します

の Java ドキュメント android.text.TextUtils.getLayoutDirectionFromLocale(java.util.Locale)

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象