Hey, wait a minute! You guys don't have Christmas over there for another 14 days! Anything before then is a fake, like that Soviet counterfeit of celebrating New Year's Day like Christmas;)
But back to the topic: why on earth did they decide to throw away markup in the toString() method? HTML markup IS expressed in characters legal in a String. On Dec 23, 9:31 am, Kostya Vasilyev <kmans...@gmail.com> wrote: > Welcome :) and Merry Christmas from Russia. > > 23.12.2010 20:28, Stephan Wiesner пишет: > > > Ahhhh, thanks a lot. That was a quick fix :-) > > > Happy greetings from Lucerne, > > Stephan > > > On 23 Dez., 17:48, Kostya Vasilyev<kmans...@gmail.com> 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 > > -- > 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en