2013年9月5日星期四

android2.3 Arabic display order on the anti

Ask the next heroes in android2.3 Arabic on display order reversed. Arabic language should be the normal display sequence from right to left , with our Chinese writing in reverse order. But I have added Arabic 2.3 , found Arabic display order reversed, it is displayed from left to right . Tell me how to handle it ? android on what is not there to properly handle property to set the display language does
------ Solution ----------------------- ---------------------
reference:
http://www.2cto.com/kf/201109/106439.html
------ For reference only ----------------- ----------------------


you say, I have expressed here is incomplete . I am now on the phone display from right to left in Arabic , but he is not right to left order. That is, it is not each line of the display toward the right order. For example, there are several in a row in Arabic, but not yet full line , only half-line , if it is Chinese writing habits , then it is displayed from left to right , close left and right line is empty. But according to the rules written in Arabic , then it should be written from left to right , left row empty fishes . I'm on the phone now the situation is the same case with Chinese writing , although the Arabic text content is displayed from right to left , but it was from the left to the right to write to the display , and the rest of the right row of empty there.
------ For reference only -------------------------------------- -
this issue , with the support of Qualcomm's technology to communicate the next , probably where the problem lies in StaticLayout.java with int DEFAULT_DIR = DIR_RIGHT_TO_LEFT ;/ / DIR_LEFT_TO_RIGHT; this value should be there is a relationship . But when I put DEFAULT_DIR to DIR_RIGHT_TO_LEFT , the phone part of the normal interface appear in Arabic , is the right to the left next to the painting . However, in some interface not normal , or from left to right painting , right next to the left of the painting . Everyone who can help see this problem wow , please.
------ For reference only -------------------------------------- -
friends, I ask you some apk is that part is not it ? I have been in your post inside a little inspiration , and eventually found

In Androidmanifest.xml added :
android: supportsRtl = "true">

then this apk will be able to support it. Must pay attention to the older version of the Android does not support this right justified , it may require a later version in jellybean

reply to what , for subsequent searches of reference

没有评论:

发表评论