Faced such a problem: when you turn the emulator, the layout remains in portrait orientation. Moreover, the emulator shows an indication of a change in orientation, but the layout does not change the orientation. However, the issue is that on the emulator under API 22 everything is working fine. Problems on emulators with API higher than 26 (specifically, I tried Q and 29). Who knows why this, or where I missed something?
- Under API 26, everything also works fine without additional dances with a tambourine. - Dorofeev Vitaly
- I checked all possible settings, I climbed into the manifest, created several AVDs with different settings, it's useless. As long as you do not prescribe an orientation in the manifesto, the layout does not respond to a change in the orientation of the device from vertical to horizontal. According to the results, I “went down” to the emulator under API 26. - Vitaly Dorofeev
|