is there a way to change the fonts of all textviews in a layout?
currently im using this to change fonts manually.
TextView txtAppName = (TextView) f
You can make your own View that will set you font and use it
public class MyTextView extends TextView {
public MyTextView(Context context) {
super(context, attrs, defStyle);
setFont(context);
}
private void setFont(Context context) {
Typeface font = Typeface.createFromAsset(context.getAssets(), YOUR_FONT);
setTypeface(font);
}
}