Reputation: 73
I want to have RTL-only layout. I don't want to have layouts that depend on user cellphone's language . What should I add in my android manifest file to make my application RTL forcedly?
Upvotes: 7
Views: 1435
Reputation: 1546
you have to set this android:supportsRtl="false"
in your application tag in manifest and design your layouts as a rtl layout. then it won't change the layouts base on the device direction
Upvotes: 3
Reputation: 1168
Unfortunately Android doesn't support only RTL as the only flag is to state either RTL support or not.
You will just need to add android:supportsRtl="true"
and make your layouts only specific to RTL support.
Upvotes: 3