https://kotlinlang.org logo
#compose
Title
# compose
m

mattinger

08/17/2020, 6:08 PM
Hi all. I’m curious how one would properly implement composables based on screen width/height selectors.
Honestly, i’m interested in the Global properties like screen width/height, orientation (which one could in theory derive from width/height), etc…
t

Timo Drick

08/18/2020, 7:45 PM
Copy code
ConfigurationAmbient.current
Contains orientation and width/height of the screen