ali zolfaghari
- Forum posts: 15
Jan 13, 2015, 9:52:50 AM via Website
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
Jan 13, 2015, 9:52:50 AM via Website
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
Jan 13, 2015, 10:26:45 AM via Website
Jan 13, 2015 10:26:45 AM via Website
i found this:
Typeface homa = Typeface.createFromAsset(getAssets(), "TitrBold.ttf");
btn_begin.setTypeface(homa);
is there any way to set custom fonts from properties window?
Jan 29, 2015, 10:55:37 AM via Website
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 editorial content
With your consent, external content is loaded here.
By clicking on the button above, you agree that external content may be displayed to you. Personal data may be transmitted to third-party providers in the process. You can find more information about this in our Privacy Policy.