开发者

Trouble with the custom font on Java, Android

I use the custom typeface and app in emulator API version 2.1 (and my mobile API version 2.1) work correctly, but in older versions app don't work with Exception:

08-04 06:16:14.041: ERROR/AndroidRuntime(273): Caused by: java.lang.RuntimeException: native typeface cannot be made

I use this code:

Typeface t=Typeface.createFromAsset(mAssetManager, "fonts/MusiSync.ttf");

But I need all version for my 开发者_Python百科app. Help me please. Thank you for, anyway.


Check this out:

http://mobile.tutsplus.com/tutorials/android/customize-android-fonts/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜