TextView tv1 = (TextView) findViewById(R.id.num2); Typeface typeface=Typeface.createFromAsset(getAssets(),"fonts/Dangrek.ttf"); tv1.setTypeface(typeface);
Android 字体设置
于 2022-08-04 13:50:20 首次发布
TextView tv1 = (TextView) findViewById(R.id.num2); Typeface typeface=Typeface.createFromAsset(getAssets(),"fonts/Dangrek.ttf"); tv1.setTypeface(typeface);