Globally replacing the default font in your Android app

By | September 13, 2014

Want to use a custom font for your Android app?
In the layout xml or code you can override the default font, but you’ll have to repeat this exercise for every View with text in it, or at the least, repeat a style declaration all over the place.
Using introspection, you can override the font behaviour centrally. Check out my example project, http://github.com/perchrh/FontOverrideExample, for a complete example of how to do it.

Leave a Reply

Your email address will not be published. Required fields are marked *