Android读取assets文件中的字体库配置新的字体
Android读取assets文件中的字体库配置新的字体
Typeface tf = Typeface.createFromAsset(getContext().getAssets(),
"fonts/Clockopia.ttf");
TextView text = new TextView(getContext());
text .setTypeface(tf);
想要获得成功,首先要自己相信自己,再者要赢得周围朋友的信任!