在TextView的乌尔都语字体 [英] Urdu font in textview

查看:499
本文介绍了在TextView的乌尔都语字体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经设置乌尔都语的TextView 并申请乌尔都语字体,但只显示像بہن

下面是code:

 字样TF1 = Typeface.createFromAsset(this.getAssets(),Urdu.ttf);
            TextView中的TextView =(TextView中)findViewById(R.id.textView1);
            textView.setTypeface(TF1);
            textView.setText(یہانگریزینہی​​ں);
 

解决方案

Asaalam邻alakum 比比Tahira 你可以从这个链接立即下载乌尔都语字体,我已经测试过了。

感谢

i have set urdu in textview and apply urdu typeface but is only showing word by word like ب ہ ن

here is code :

Typeface tf1 = Typeface.createFromAsset(this.getAssets(), "Urdu.ttf");
            TextView textView = (TextView)findViewById(R.id.textView1);
            textView.setTypeface(tf1);
            textView.setText("یہ انگریزی نہیں");

解决方案

Asaalam-o-alakum bibi Tahira You can downlaod urdu Font from this link,i have tested it.

Thanks

这篇关于在TextView的乌尔都语字体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆