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?
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
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With