有没有办法只使用xml传递TextView(或它的子类)的自定义字体,而不提供像这样的任何java代码
Typeface tf = Typeface.createFromAsset(getAssets(), "fonts/CustomFont.ttf");
android truetype
android ×1
truetype ×1