I would like to highlight a TextView
and achieve the design shown below.
Does anyone know how to achieve this using a TextView
?
I took this screenshot from an existing Android app.
By using this code I get results shown below, which is not what I want:
sp.setSpan(new BackgroundColorSpan(color), start, length, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);