Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
I applied a custom font to a Here is my code:
Can anyone please get me out of this issue? | ||||
benvd is right. Don't use a fonts subdirectory. On Mobiletuts+ there is very good tutorial on Text formatting for Android. Quick Tip: Customize Android Fonts EDIT: Tested it myself now. Here is the solution. You can use a subfolder called fonts but it must go in the
Also make sure that the font ending I mean the ending of the font file itself is all lower case. In other words it should not be | ||||
I've successfully used this before. The only difference between our implementations is that I wasn't using a subfolder in assets. Not sure if that will change anything, though. | |||
when i have been wrote this code to set my font it dosn't work when i'm start my application suddenly my application is stop.. | |||
default
.
stackoverflow.comm
No comments:
Post a Comment