Android读取assets文件中的字体库配置新的字体
Typeface tf = Typeface.createFromAsset(getContext().getAssets(),
"fonts/Clockopia.ttf");
TextView text = new TextView(getContext());
text .setTypeface(tf);
Android读取assets文件中的字体库配置新的字体
Typeface tf = Typeface.createFromAsset(getContext().getAssets(),
"fonts/Clockopia.ttf");
TextView text = new TextView(getContext());
text .setTypeface(tf);
转载于:https://www.cnblogs.com/-cyb/archive/2013/03/12/Android_Read_assets_TextView_setTypeface.html