Use Fonts / Android
Use Mobile FontFonts on Android in 3 Steps
It is easy to use custom application-provided fonts in an Android application. Given the font reference, you can set the typeface property of all controls that are subclasses of TextView (basically all controls that have some kind of text in them). You can find a working example application at our github project page.
Add your custom font files to the project
Create a ‘fonts’ folder in your projects assets folder. Add the font files you want to use by copying them into that folder. Android supports TrueType (.ttf) and OpenType (.otf) files. Naturally, Mobile FontFonts are in the right format.
Get a Typeface reference and use it
Use your font by getting a Typeface reference like this:
Typeface myFont = Typeface.createFromAsset(getAssets(), "fonts/Myfont.ttf);
With that object, you can use the setTypeface method of all subclasses of TextView:
myView.setTypeface(myFont);
Check out our sample code hosted at github.
We have prepared a sample application which has examples for a few use cases: here. (psst – It also comes with a free font).