How to highlight text, for example, spell checking on Android?

How to emphasize text in Android text fields, for example, spell check on this screenshot:

enter image description here

Thanks in advance!

+2
source share
1 answer

You are using Spannables. Spannables are sequences of characters that include style. To do this, use UnderlineSpan

+2
source

All Articles