Font ttf untuk android studio

broken image
broken image
broken image

Put your.ttf file into the fonts folder.Create folder 'assets>fonts' into the main folder.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 ).