Are there any built-ins to get a preview in landsc...
# compose
r
Are there any built-ins to get a preview in landscape mode, or do you need to set the height and width manually?
(Setting height and width manually is not great if you also want
showSystemUi = true
)
c
It’s manual at the moment but we are looking to add an orientation parameter in Bumblebee. @Preview is in its own library, so it may be able to work in Arctic Fox. Stay tuned.
👍 2
r
Thanks! Is there a ticket I can watch for that?
c
We don’t have one, but we expect to add it soon
👍 1
r
Ok thanks. This is probably obvious, but ideally it would toggle
LocalConfiguration.current.orientation
in addition to swapping the width and height of the device presets, because there doesn't seem to be a way to toggle that in previews currently.
c
Yep that is what we are looking to, to actually change configuration, not just screen size