Follow these simple steps
Download .ttf file of font style you want from internet (Just google it there are plenty of sites which will give you tons of fonts free of cost eg Oswald-Stencbab.ttf ).
Now this is the part you need to be extra careful. You should upload your .ttf file in this folder /app/src/main/assets/fonts/ if you don't see fonts folder under assets then make a new folder and name it fonts and then paste or drag and drop your .ttf file
Now the custom font is available now in your local you can use it anytime.
But how ? Like this
TextView text;
Typeface customTypeFace=Typeface.createFromAsset(getResources().getAssets(),"fonts/Oswald-Stencbab.ttf");
text.setTypeface(customTypeFace);`
That is all you need to do.
This Repository is developed and maintained by
Rohit Singh