KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I applied a custom font to a TextView , but it doesn't seems to change the typeface. Here is my code: Typeface myTypeface = Typeface.createFromAsset(getAssets(), "fonts/myFont.ttf"); TextView myTextView = (TextView)findViewById(R.id.myTextView); myTextView.setTypeface(myTypeface); Can anyone please get me out of this issue?
Tags (comma-separated)
Save Edits
Cancel