Android Question Incorrect layout view when changing screen orientation

paulsvs

New Member
Hello experts!
I use this string android:configChanges="orientation|screenSize" in the manifest to save data when I change the orientation of the screen. OK, the information is saved, but the layout view does not adapt to the new orientation, i.e. for example, the portrait view doesn't change to landscape, yes it's rotated, and half cut from the bottom. The landscape view doesn't change to portrait, it's rotated and half cut to the right. How to fix it?

When I don't use this string android:configChanges="orientation|screenSize", the screen orientation changes normally and all elements are placed correctly according to each orientation.

Thanks in advance!
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
Upvote 0
Top