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);