Re: [android-developers] fromHtml doesn't work for textview font size, any help?

2010-12-31 Thread TreKing
On Wed, Dec 29, 2010 at 7:41 AM, genxsol genx...@gmail.com wrote:

 color does work but no font size, any help plz


http://commonsware.com/blog/Android/2010/05/26/html-tags-supported-by-textview.html

-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for Android-powered devices

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

[android-developers] fromHtml doesn't work for textview font size, any help?

2010-12-29 Thread genxsol
Hi Dear,

i am trying to put text on a text view with different size for each
word

textView.setText(Html.fromHtml(font size='10' color='red' Word1 /
font font size='15' color='white' Word2 /font)));

color does work but no font size, any help plz

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