Thanks! I do believe this kind of curiosity, or inquisitive mind, is behind every breakthroughs. I might as well test if 1.<big><small> or, 2.SizeSpan executes faster. Hope applying <big> after applying <small> brings the size back to default, otherwise it may face a problem when that part of the code gets initialized/reapplied as there is no way to put the size back to <normal>. Big font might get bigger and bigger, and small font might get smaller and smaller :)
On May 7, 5:33 pm, al <[email protected]> wrote: > Using spannables directly is certainly the better way to do it since the > supported html tags apparently are not clearly specified as Mark already > mentioned. > > However, out of curiosity, I looked at the source of Html.java. So, just > for the sake of completeness: I found that <font> apparently only supports > the attributes "color" and "face", but not "size". I also found that it > supports "<big>" and "<small>", i.e. using an html string like > "<big>199</big> <small>km/h</small>" seems to work, although you cannot > specify the sizes exactly... > > Am Sonntag, 6. Mai 2012 09:53:17 UTC+2 schrieb x300: > -- 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

