Kotlin and Java wrappers around SpannableStringBuilder
HtmlSpanner allows you full control over how tags are rendered and gives you all the data about the location of a tag in the text. This allows proper handling of anchors, tables, numbered lists and unordered lists.
You can use it to quickly turn a String into a Spannable
and apply different types of spans to it.
new Makeup( name + ", " + age).boldify(0, name.length()).apply()
This would show a name and age of a person, and make the name part bold.
Implementation of LineBackgroundSpan
that adds rounded rectangle backgrounds to text.
Complete abstraction from the Spannable API. Forget about all the boiler plate code and all the Object what nonsense that you have to deal with when working with Spannable.
setSpan
calls by using all the provided methods trough the StyleEZ
interface.ContentEZ
and StyleEZ
interface it removes unnecessary methods from the autocomplete form, and thus it removes clutter.INCLUSIVE_INCLUSIVE
to all the spansThis lib provides simple and fluent API for creating Android Spannable.
A helper class that extends SpannableStringBuilder
and adds methods to easily mark the text with multiple spans.
Small & simple library to create a link url, mail, mention and tag in TextView
.