Android 中的阿拉伯语写作
myXmlContent.setText("بِسْمِ اللَّهِ الرَّحْمَٰنِ الرَّحِيمِ");
我正在编写上面的代码并尝试以阿拉伯语显示文本。
但每个字符在 Android 模拟器中都是单独显示的。
请帮忙。
myXmlContent.setText("بِسْمِ اللَّهِ الرَّحْمَٰنِ الرَّحِيمِ");
I am writing the above code and trying to display the text in Arabic.
but every character is being displayed separately in Android emulator.
Please help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
UI 工具包当前不完全支持复杂脚本。我们正在努力改进这一点。
Complex scripts are currently not fully support by the UI toolkit. We are working on improving this.
不要担心我们在应用程序中遇到了这个问题,但它在真实设备上就像一个魅力(三星 htc)
我直接在真实设备上进行建议工作和调试,这样速度更快,并且可以在最终外观中反映您的工作。
你可以看看:
https://stackoverflow.com/a/3769283/771300
Don't Worry we faced this on our applications but it works like a charm on the real devices (Samsung htc)
I do advice work and debug directly on real device this is faster and reflects your work In final look.
you may look at:
https://stackoverflow.com/a/3769283/771300
查看下面的链接。
Android 阿拉伯语
您需要使用阿拉伯语重塑器实用程序
以下是一些链接https://github.com/aawish/Better-Arabic-Reshaper
https://mdictionary.wordpress.com/2011/02/10/connected-arabic-characters-for-android-apps/
Have look the below link.
Android Arabic Language
You need to use Arabic Reshaper utility
Below are the some links https://github.com/agawish/Better-Arabic-Reshaper
https://mdictionary.wordpress.com/2011/02/10/connected-arabic-characters-for-android-apps/