Hello, I am reading in a line from a vector to a string, and then I want to change the background colour of a part of that string by using setSpan. But setSpan doesn't accept a string. And if you use Spannable str = mVector.get(k); it doesn't work either. Any suggestions?
Bellow you see my code. Is there another better way to do this? String str = mVector.get(k); str.setSpan(new BackgroundColorSpan(0xFFFFFF00), 7, 12, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe from this group, send email to android-beginners+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.

