I want to set Roboto font in Material Design. Shall I need to add font in Asset Folder as I used to do previously. I know how to set custom font to any View but want to use for Material Design. My application will be used on Android 3.0 and onward.
I have been using following to use custom fonts
public static Typeface getTypeFace() {
if (fromAsset == null) {
fromAsset = Typeface.createFromAsset(getContext().getAssets(), "fonts/Roboto-Medium.ttf");
}
return fromAsset;
}