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 fo
textview
xml
Where "RED" is a named constant you have to define under res/values/ in an xml file. Typically i create "colors.xml".
Or see this for a good set of predefined colors: Web colors in an Android color xml resource file