Disable automatic layout change on Android

后端 未结 3 737
耶瑟儿~
耶瑟儿~ 2021-02-02 12:07

I\'ve made an app, I\'ve tested it and it was fine on my phone. But... when I gave the .apk to someone else whose phone language is RTL the whole layout broke and it messed up e

3条回答
  •  不思量自难忘°
    2021-02-02 12:28

    In your manifest file and inside the application tag add these two lines.

    
        
        
    
    

    Note: (about second line) Some libraries have support Rtl in their manifest file so if you want to use those libraries you must replace their manifest line of code with yours.

提交回复
热议问题