How to make an Android application work only with the RTL layout direction?

I want to have only an RTL layout. I do not want to have layouts that depend on the language of the mobile phones. What should I add to my Android manifest file in order to force the use of the RTL application?

+4
source share
2 answers

you need to install this android:supportsRtl="false"in your application tag in the manifest and create your layouts as rtl layout. then it will not change the layout base towards the device

+1
source

Unfortunately, Android does not only support RTL, since the only flag is RTL support or not.

android:supportsRtl="true" RTL.

+1

Source: https://habr.com/ru/post/1665477/


All Articles