Vikas Sharma
Vikas Sharma

Reputation: 107

Android layout geting right to left instead of left to right

I am facing a strange issue. I designed layout from Left to Right, but in some devices its showing Right to Left. In Moto X : this is right arrow direction >> enter image description here

In Samsung s7 : look at arrow direction, it get reverse. enter image description here

Please suggest, what should be reason for this. Its also happening with other views.

Upvotes: 0

Views: 82

Answers (1)

Ivan Shafran
Ivan Shafran

Reputation: 641

I suppose that it is linked to rtl support. If you device uses arabic language(or any other right to left languages) it will mirror some elements.

If you'd like to disable this try this in your manifest:

<application
    ...
    android:supportsRtl="false">
...
</application>

Upvotes: 1

Related Questions