这是我的代码和屏幕截图我正在尝试设置自定义字体字体但是当字体文件在资产文件夹中时,运行时异常发生字体资产未找到.我错过了什么吗?
Typeface font = Typeface.createFromAsset(getAssets(), "font/terminal.ttf");
((TextView) findViewById(R.id.weatherHeadingTV)).setTypeface(font);
Run Code Online (Sandbox Code Playgroud)
