/*
* Insert your regular font and bold font here ...
*/
private static String font = "Arial.ttf";
private static String boldFont = "ArialBold.ttf";
private static String buttonFont = "ArialItalic.ttf"; // if you set this string empty button's font will be regular font
private static String editTextFont = "ArialBoldItalic.ttf"; // if you set this string empty editText's font will be regular font
EasyFont easyFont = new EasyFont(this);
easyFont.changeAllFonts();
- Set your element id (R.id.title) to set bold font.
- You can set fonts separatly