I am porting my application from M5 to 0.9 SDK, and i just meet a
problem when i use setTypeface method. I got a textview which its text
is bold and italic. I tried these 2 solution, the first one works
fine, but the second one just make bold text, not italic.

1. textview.setTypeface(Typeface.DEFAULT, Typeface.BOLD_ITALIC);

2. textview.setTypeface(Typeface.create(Typeface.DEFAULT,
Typeface.BOLD_ITALIC));

So the Typeface's create(Typeface family, int style) doesn't work as i
hope, i don't know if i misunderstand this method or it is a bug.

Comments are appreciate.
--~--~---------~--~----~------------~-------~--~----~
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
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to