开发者

Android: RTL support - digits embedded in a right to left sentence (Hebrew)

My application displays Hebrew text which comes from a Web Service.

When a sentence contains digits (in the middle of it), the digits appear in a mirror view:

29 appears as 92, 21:45 appears as 54:12 and 2开发者_如何学编程,000 appears as 000,2.

Also, when a sentence starts with digits or English characters, they get thrown to the end of the sentence messing it all up...

Does anyone have an idea how can this be solved? Is RTL support in Android still immature?


Try presenting your text in a webkit control, its RTL support works fine, as long as the HTML code is tagged appropriately.


Is RTL support in Android still immature?

If by "immature" you mean "nonexistent", then, yes, it is immature. Each Android SDK release lists the supported languages, and you will notice that RTL languages are not among them.


Forward to 2015 - those issues are gone, and the answer marked as correct is no longer correct.


This is fixed in CyanogenMod. I'd very much like to know which commit has the fix exactly

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜