2014年1月5日星期日

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 properly handle it
------ Solution ----------------------- ---------------------
reference :
http://www.2cto.com/kf/201109/106439.html
------ eference ------------------- --------------------


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 . The present situation on my phone is the same situation with Chinese writing , although the content of Arabic text is displayed from right to left , but it is from the left to the right to write to the display , and the rest of the right OK empty there.
------ eference --------------------------------------- < br> 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 a relations. 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.
------ eference --------------------------------------- < br> friends, I ask you is part of the 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">

then this apk could support . It must be noted older Android versions do not support this right justified , it may be necessary in future versions jellybean

Reply moment, searching for the person behind the reference
------ eference --------------------------- 2.3 ------------
wonder if the landlord Arabic from right to left on display last how to do . 2.3 Arabia recently doing projects similar problems , would like to ask the landlord .
------ eference --------------------------------------- < br> I recently added 2.2 also displays the Arabic language does not know is how to solve ? Forget advise

没有评论:

发表评论