I need my textview to have different colored texts. Also I need to do this from xml code, non from java code. Is there anyone who knows some way for doing this? 
Thanks
e.g. I have sentence "This is red". I need words to be green, and word red to be red.
 
     
     
     
     
     
     
    