添加到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);
请高手指教