代码加载字体以及应用asset中的文件

代码加载字体以及使用asset中的文件AssetManager managerthis.getAssets()try{manager.open(tahoma.ttf

代码加载字体以及使用asset中的文件

AssetManager manager=this.getAssets();try{manager.open("tahoma.ttf");TextView tv=(TextView)this.findViewById(R.id.testMe);tv.setTypeface(Typeface.createFromAsset(manager, "tahoma.ttf"));tv.setTextSize(50f);tv.setText(ArabicUtilities.reshape("adsdads ????? ??? asdad"));}catch(Exception ex){//TODO}

?