Call this method after changing font. In this paramter "v" is your listview or listview parentand "f" is your font in method.
/**
* To apply custom font for whole activity
*/
public static void applyFontForWholeActivity(final View v) {
// Typeface fontToSet = Typeface.createFromAsset(v.getContext()
// .getAssets(), "fonts/EUROSTILE_BOLD.TTF");
try {
if (v instanceof ViewGroup) {
ViewGroup vg = (ViewGroup) v;
for (int i = 0; i < vg.getChildCount(); i++) {
View child = vg.getChildAt(i);
applyFontForWholeActivity(child);
}
} else if (v instanceof TextView) {
TextView tv = (TextView) v;
tv.setTypeface(ActivityUtils.fontToSetGlobal);
}
} catch (Exception e) {
e.printStackTrace();
// ignore
}
}