Implementation of a TextView and all its direct/indirect subclasses
Implementation of a TextView and all its direct/indirect subclasses with native support for the Roboto fonts, including the brand-new Roboto Slab fonts. This library is compatible from API 14 (Android 4.0). To apply roboto typeface for original TextView (like a Calligraphy) you must attach inflater in your Activity class in the #onCreate() method. If you intend to use is not all fonts, the extra fonts can be removed.
Are you fed up of Custom Views to set fonts? Or traversing the ViewTree to find TextViews? Calligraphy is a library of custom fonts in Android an OK way. Add your custom fonts to assets/. All font definitions are relative to this path. Assuming that you are using Gradle you should create the assets directory under src/main/ in your project directory if it does not already exist. As it's popular to use multi-project build with Gradle the path is usually app/src/main/assets/, where app is the project name. ...