Also, here is a blog post from several months ago listing the HTML tags supported by fromHtml():
http://commonsware.com/blog/2010/05/26/html-tags-supported-by-textview.html That was based on the Android 2.1 code, and other versions may have some differences, since this stuff is undocumented. But, it will give you some ideas of what is worth trying. On Thu, Dec 23, 2010 at 11:48 AM, Kostya Vasilyev <[email protected]> wrote: > 23.12.2010 19:10, Stephan Wiesner пишет: > > Spanned text = Html.fromHtml(text); > titles.add(text.toString()); > > Take out the second line (toString), and carry the result of Html.fromHtml > as a CharSequence (or Spanned) all the way to TextView.setText. > > What this code does is first parses the HTML and creates markup (behind the > Spanned object), and then throws the markup away in a conversion toString(). > > -- > Kostya Vasilyev -- WiFi Manager + pretty widget -- > http://kmansoft.wordpress.com > > -- > 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 -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9 Available! -- 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

