tags:

views:

63

answers:

1

I am using a textview to display some text and I would like different parts of the text to be shown in different colours, e.g. first half of the text in red, second in blue. I cant seem to find a way of doing this. I have heard of using Html.fromHtml() but I am not exactly sure how to do it this way.

+1  A: 

I think this should answer your question:

http://stackoverflow.com/questions/1529068/android-is-it-possible-to-have-multiple-styles-inside-a-textview

Tyler