一、在assets下新建fonts文件夹,把下载的字体hwxk.ttf放到里面
二、引用
//从asset 读取字体得到AssetManager AssetManager manager = getAssets(); //根据路径得到Typeface Typeface tf = Typeface.createFromAsset(manager, "fonts/hwxk.ttf"); //设置字体 tvTitle.setTypeface(tf);
三、字体资源链接
https://download.youkuaiyun.com/download/Jeyden_827/21144829