Bradleycorn
03/09/2021, 2:40 PMandroid:configChanges="orientation|screenSize"
When I run my app, everything works as expected ... when I rotate the device the activity does not get re-created, and my main setContent
composable gets recomposed. But ... if I rotate the device "upside down", the composable does NOT get recomposed? What am I missing?
To be clear .. the device (a phone) starts in a "normal" portrait orientation ... i rotate it 90 degrees to a landscape orientatin and my root composable gets recomposed. Great. I rotate 90 degrees again to portrait (but now upside down, with the earpiece at the bottom and the mic at the top), and my root composable does NOT get recomposed and the display is now "sideways"?Timo Drick
03/09/2021, 2:53 PMBradleycorn
03/09/2021, 3:00 PMfullUser
orientation in the manifest fixes itIan Lake
03/09/2021, 3:29 PMBradleycorn
03/09/2021, 5:55 PM