What I mean is, is it possible to change the text \"This text is blue\" to the color blue in a single string? There must be a way...
A simple way to do it is to use HTML and set the text to the TextView programmatically.
TextView
String text = "This text is white. This text is blue."; textView.setText(Html.fromHtml(text), BufferType.SPANNABLE);