Here is the more difficult, lower-level way to do this (probably also has more functionality): http://developer.android.com/reference/android/text/Spannable.html
Here is the much easier way to do this: http://developer.android.com/reference/android/text/Html.html ... This one is REALLY nice. You can do things like Html.fromHtml("Whatever I want <b>bold</b>"); .. This allows you to use basic HTML markup to format your text. I'm not sure how many or which HTML tags are supported. -Nick On Apr 16, 9:04 am, sebastian23 <[email protected]> wrote: > Hi toghether > > i habe some text displayed in a textview and would like to highlight (e.g. a > specific background or font color) part of it. But how can i do that? didn't > found a solution in the api or google. > > thanks for any hint > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group > athttp://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

