https://kotlinlang.org logo
l

Luca Nicoletti

02/10/2023, 2:02 PM
👋🏼 Anyone with experience in changing orientation at runtime? Let me explain: we have a “screen” that forces the orientation in
Landscape
this way:
Copy code
LocalContext.current.findActivity()?.requestedOrientation = ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE
And we have a bottomSheetModal (full screen) that we’d like to see in
Portrait
. Anyone has any idea on how we could achieve that?
2 Views