添加到Adapter里面的TextView的字体怎么改.这个方法不能用改不了了
LayoutInflater inflater = (LayoutInflater) getApplicationContext().getSystemService(Context.LAYOUT_INFLATER_SERVICE);
View v1 = inflater.inflate(R.layout.list_item1, null);
TextView textall=(TextView) v1.findViewById(R.id.textAll);
typeface=Typeface.createFromAsset(getAssets(),"font/MgOpenCosmeticaBold.ttf");
textall.setTypeface(typeface);
请高手指教
LayoutInflater inflater = (LayoutInflater) getApplicationContext().getSystemService(Context.LAYOUT_INFLATER_SERVICE);
View v1 = inflater.inflate(R.layout.list_item1, null);
TextView textall=(TextView) v1.findViewById(R.id.textAll);
typeface=Typeface.createFromAsset(getAssets(),"font/MgOpenCosmeticaBold.ttf");
textall.setTypeface(typeface);
请高手指教
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货