Thursday, January 16, 2014

android2.3 Arabic on the order reversed


            
Ask the next heroes, android2.3 Arabic on the order reversed. Arabic language should be the normal display sequence from right to left, with the written order of our Chinese opposite. But after I added the Arabic on the 2.3 and found that the display order of the anti-Arabic, and it is displayed from left to right. Tell me how to handle it? android is not there on what property you want to set the display language to correctly handle it
Reply:
Reference:
http://www.2cto.com/kf/201109/106439.html
Reply:
cited a floor reply:
Reference:
http://www.2cto.com/kf/201109/106439.html


You say, I am here to express fully enough. I'm on the phone now displays Arabic from right to left, but he is not right to left order. That is, it is not displayed in each row are arranged close to the right. For example, there is a line in a few Arabic, but not yet full line, only half a line, if it is Chinese writing habits, then it is displayed from left to right, close left, right line is empty. But according to the Arabic writing rules, then it should be written from left to right, the left line empty fishes. I'm on the phone now the situation is the same situation with Chinese writing, although the content of the Arabic script is from right to left, but it is from the left to the right to write to the display, leaving a blank line right there .
Reply:
This issue, with the support of Qualcomm's technology to communicate the next, probably the problem lies in StaticLayout.java years, with int DEFAULT_DIR = DIR_RIGHT_TO_LEFT ;/ / DIR_LEFT_TO_RIGHT; This value should be a relationship. But when I put DEFAULT_DIR to DIR_RIGHT_TO_LEFT, the phone displays a normal part of the interface in Arabic, and is next to the right side to the left side of the painting. But in some interface without normal, or from left to right draw, right next to the left of the painting. Everyone who can help this problem wow look, please.
Reply:
Friends, I ask you part apk is not part of it? I was a little inspiration in your post inside, and finally found

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

Well, this apk could support. It must be noted older Android versions do not support this right justified, it may be necessary later version
in jellybean
Reply moment, searching for the person behind the reference
Reply:
I do not know Arabic from right to left on the landlord 2.3 shows the last how to do. 2.3 Arabia recently doing projects similar problems, would like to ask the landlord.
Reply:
I recently joined the Arab language is displayed 2.2 does not know is how to solve? Forget advice

No comments:

Post a Comment