Quantcast
Channel: Lagoman | Just another Android blog by Mladen JakovljevićLagoman | Just another Android blog by Mladen Jakovljević
Viewing all articles
Browse latest Browse all 4

Android Custom Typeface/Font via XML

$
0
0
The idea of defining custom typeface via XML is simple: extend TextView, add custom XML attribute and create Typeface objects using one of static Typeface class methods (we will use createFromAsset(AssetManager mgr, String path)). Google suggests developers to use Roboto fonts. Download fonts and add *.ttf files to assets/fonts folder. In this example, we didn’t […]

Viewing all articles
Browse latest Browse all 4

Trending Articles