how to add my custom font to my app

  • Replies:2
  • OpenNot stickiedUnanswered
  • Forum posts: 15

Jan 13, 2015, 9:52:50 AM via Website

hi there
i have some fonts, how can i add them to my app and how to set controls to use them?
thanks so much

  • Forum posts: 15

Jan 13, 2015, 10:26:45 AM via Website

i found this:

Typeface homa = Typeface.createFromAsset(getAssets(), "TitrBold.ttf");

is there any way to set custom fonts from properties window?

  • Forum posts: 211

Jan 29, 2015, 10:55:37 AM via Website

put your fonts in asset folder. if asset folder is not showing create it. Than use the method you shared.

Also Check the font which are using supported by android or not.

Recommended by NextPit