Android: Different styles to the same TextView

0

There is some way to set different styles to a text view, for example I want to paint certain code and I would like certain words, like for example <tag></tag> labels to go green, the text I get from a http call, then I can have more or less labels, is there a way to create styles and in some way to setearle the text that applies the different styles to each word?

example, I would like a textview to be able to print code formatted with these colors:

    
asked by Andress Blend 09.01.2018 в 18:02
source

0 answers