How to support arabic language in android? [duplicate]

心不动则不痛 提交于 2019-12-24 03:19:01

问题


Possible Duplicate:
How to support Arabic text in Android?

how to use arabic text and how to get arabic language support in android.unicode.

TextView tv=(TextView)findViewByid(R.id.text);

回答1:


I guess it's a firmware feature , I use the latest CyanogenMod 7.1 on my Nexus S and I have the arabic language for the menu and text input .

After that you can use typeface .




回答2:


use typeface for the textview and use your arabic ttf for the same. tv.setTypeFace is the API



来源:https://stackoverflow.com/questions/7956852/how-to-support-arabic-language-in-android

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!