0

Possible Duplicate:
Is it possible to have multiple styles inside a TextView?

i wonder if we can do this in android or not , i have textview ,which has text as :

( hi everybody how are you) for example, can we customize programmatically each word in

the same textview :

like :

hi = bold + small size + blue in color.

everybody = normal + red in color +large size.

how are you = italic and use custom font + normal size .

please if we can ,would you please tell me how we can do it programmatically .

thanks alot.

Community
  • 1
  • 1
frozenhill
  • 124
  • 1
  • 9

1 Answers1

0

use the Html.fromHtml("blah blah blah") to convert from html formatted text. Always works like a charm!

MozenRath
  • 9,652
  • 13
  • 61
  • 104