java.lang.Object | |
↳ | android.support.v4.text.TextUtilsCompat |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
ROOT |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
Return the layout direction for a given Locale
|
||||||||||
|
Html-encode the string.
|
[Expand]
Inherited Methods
|
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Return the layout direction for a given Locale
locale | the Locale for which we want the layout direction. Can be null. |
---|
LAYOUT_DIRECTION_LTR
or
LAYOUT_DIRECTION_RTL
.
Be careful: this code will need to be updated when vertical scripts will be supported
Html-encode the string.
s | the string to be encoded |
---|