-3
可能重复:
Android: Want to set custom fonts for whole application not runtime如何为整个应用程序应用自定义字体?
我知道有通过以下方式做这件事的方式。但是我想将字体应用于整个应用程序。那可能吗?
TextView txt = (TextView) findViewById(R.id.customfont);
Typeface font = Typeface.createFromAsset(getAssets(), "fonts/Molot.otf");
txt.setTypeface(font);