Typeface vibeFont = Typeface.createFromAsset(getAssets(), "fonts/GreatVibes-Regular.otf"); //字体文件放 assets下面。
TextView tvLogo = (TextView) findViewById(R.id.tvLogo);
tvLogo.setTypeface(vibeFont);
android 更换外部字体
猜你喜欢
转载自blog.csdn.net/weixin_37744986/article/details/80995439
今日推荐
周排行