android - Set background color for a specific text in a XML TextView using CDATA -


i can able set text color using cdata.

<string name="sample"> <![cdata[ <font color=#ff0000>red color</font>]]> </string> 

but how can able set backgound color highlight text?

example: redcolor

can me?


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -