Tuesday, August 28, 2012

[android-developers] how to .setText of a String with different colours?

Hi I'm Oriol and I want to set a string like this one:

Hi,
All!

in the textView I've created on my layout. (One String in only one textView)


But the matter it's that I don't know how to set a different colour for some specific characters inside my string. (Like in the example I show here) 

Does anyone knows how to do it?


Thank you very much,


Oriol

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate