Android: How can i put fonts of different size in a view?

by rohan_lais » Fri, 14 Jan 2011 21:29:03 GMT


Sponsored Links
 I tried <font size="" > in string resource but it did not work.

-- 



Re: Android: How can i put fonts of different size in a view?

by Hari Edo » Sat, 15 Jan 2011 03:40:42 GMT


 You win for the most terse question of the day.

Only a little bit of HTML markup is supported.  The Android docs
for Html.fromHtml() are almost as short as your question.  Try
simple tags like <small> and <big> instead of complicated ones
like <font size="whatever">.




-- 


Sponsored Links