Layout changes if device language is Arabic

Maimoonah Abu Adas picture Maimoonah Abu Adas · Dec 23, 2015 · Viewed 7.8k times · Source

I have designed an Android app, when I test it in a device it's language is Arabic ,the position of image views changes ,like a mirror !

I need a solution to make the layout the same as for English ,because I have image views and I made a translation for them according to screen width,so when the language is Arabic ; the 1% of screen width begins from the right of screen !,and my app when I programmed it ;the image view starts from the left of screen !

I want solution not only for higher SDK !

Some of my java Code :

Answer

Context picture Context · Dec 23, 2015

In your manifest file put this:

android:supportsRtl="false"