getLayoutDirectionFromLocale

open fun getLayoutDirectionFromLocale(@Nullable locale: @Nullable Locale): Int(source)

Returns the layout direction for a given Locale

Return

the layout direction, either LAYOUT_DIRECTION_LTR or LAYOUT_DIRECTION_RTL.

Parameters

locale

the Locale for which we want the layout direction, maybe be null.