Example usage for Java android.text Html fields, constructors, methods, implement or subclass
The text is from its open source code.
int | FROM_HTML_MODE_LEGACY Flags for #fromHtml(String,int,ImageGetter,TagHandler) : Separate block-level elements with blank lines (two newline characters) in between. |
int | FROM_HTML_MODE_COMPACT Flags for #fromHtml(String,int,ImageGetter,TagHandler) : Separate block-level elements with line breaks (single newline character) in between. |
String | escapeHtml(CharSequence text) Returns an HTML escaped representation of the given plain text. |
Spanned | fromHtml(String source) Returns displayable styled text from the provided HTML string with the legacy flags #FROM_HTML_MODE_LEGACY . |
Spanned | fromHtml(String source, int flags) Returns displayable styled text from the provided HTML string. |
Spanned | fromHtml(String source, ImageGetter imageGetter, TagHandler tagHandler) Returns displayable styled text from the provided HTML string with the legacy flags #FROM_HTML_MODE_LEGACY . |
String | toHtml(Spanned text) |