TextUtilsCompat
class TextUtilsCompat
Backwards compatible version of TextUtils.
Summary
Public functions |
|
|---|---|
java-static Int |
getLayoutDirectionFromLocale(locale: Locale?)Returns the layout direction for a given Locale |
java-static String |
htmlEncode(s: String)Html-encode the string. |
Public functions
getLayoutDirectionFromLocale
Added in 1.1.0
java-static fun getLayoutDirectionFromLocale(locale: Locale?): Int
Returns the layout direction for a given Locale
| Returns | |
|---|---|
Int |
the layout direction, either |