Android textview html font size tag
I use <font size ="50"> tag in android textview like this
resultTextView.setText(Html.fromHtml("<font size='50' color='#337744'>Text
Message</font>"));
resultTextView.setText(Html.fromHtml("<font size=\"50\"
color='#337744'>Text Message</font>"));
but the problem is color tag is work but size tag is don't work
in this blog
http://commonsware.com/blog/Android/2010/05/26/html-tags-supported-by-textview.html
say font size tag is work waht's wrong in my code?
No comments:
Post a Comment