![]() If you use android studio, you should create assets folder from right click at app ->New ->Folder ->Assets Folder choose destination to your assets folder default main create directory called fonts in assets then place your font assets -fonts -Roboto-Black.ttf java res AndroidManifest.xml finally use this code Typeface fontRobo = Typeface.createFromAsset(context.getAssets(), 'fonts/Roboto-Black.ttf') tText(total.toString()) tTypeface(fontRobo ).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |