Well, I was taking this page as definitive:

http://developer.android.com/intl/de/guide/topics/resources/available-resources.html#stringresources

Which is where I got my count of 3 tags. However, in searching for
that, I found this (which links to that):
http://developer.android.com/intl/de/guide/appendix/faq/commontasks.html#selectingtext

Which gives a count of 9 tags -- still not including <br/>.'

That's what happens when you document the same thing in two different
places.

On Mar 8, 11:54 am, Mark Murphy <[email protected]> wrote:
> Bob Kerns wrote:
> > <br> is not one of the 3 HTML tokens documented to be supported there,
> > so I wouldn't rely on it even if it worked.
>
> Out of curiosity -- where are you seeing this list of supported HTML
> tags? Html.fromHtml() mentions special handling of <img> but otherwise
> does not mention any specific tags it supports. If there is a definitive
> list for it, I'd love to know!
>
> > Since you're using this as a format string -- why not use the %n
> > format operator?
>
> > It's even nicely platform-independent, while a literal \n is not.
>
> Personally, I didn't even realize that existed. Thanks!
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> Android Training...At Your Office:http://commonsware.com/training

-- 
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

Reply via email to