How to import external font/ typeface in ANDROID STUDIO?
Go on your Project: app-->src-->main
Create a assets folder like this:
|assets
|-----------------fonts
|-------------------font.ttf
|java
|res
AndroidManifest.xml
and then use
Typeface face=Typeface.createFromAsset(getAssets(),"fonts/digital.ttf");
txtV.setTypeface(face);
If you have custom font then use following code:
TextView tv=(TextView)findViewById(R.id.custom);
Typeface face=Typeface.createFromAsset(getAssets(),"fonts/Verdana.ttf");
tv.setTypeface(face);
Also place your font file in assets/fonts folder and follow the instructions from here.
NOTE: You have to make asset folder by yourself