我已经在textview中设置了urdu并应用了urdu字体,但只是像بہن一样逐字显示
这是代码:
Typeface tf1 = Typeface.createFromAsset(this.getAssets(),"Urdu.ttf"); TextView textView = (TextView)findViewById(R.id.textView1); textView.setTypeface(tf1); textView.setText("یہ انگریزی نہیں");