Typeface.createFromAsset(AssetManager manager,String path); 这个怎么用?
AssetManager mgr;
tf = Typeface.createFromAsset(mgr, font);
TextView txtName = (TextView) convertView.findViewById(R.id.txtTitle);
txtName.setText(novena.getName());
txtName.setTypeface(tf);
如何初始化经理?
你可以使用 tf = Typeface.createFromAsset(context.getAssets(), font);