https://kotlinlang.org logo
#android
Title
# android
n

Noop

11/08/2020, 4:38 AM
Is there any way to create a UI differently according to the size of the screen in Compose UI?
j

jefbit

11/08/2020, 4:55 AM
I'm sure you can create a simple if else statement based on the devices size. Or create a resource value that will change a boolean value depending on device configuration.
👍 1
n

Noop

11/08/2020, 4:56 AM
@jefbit Thx.
i

Ian Lake

11/08/2020, 5:26 AM
The best place to direct Compose questions is to the #compose channel FWIW
👍 2
n

Noop

11/08/2020, 5:28 AM
@Ian Lake Oh... there was a channel like this. Thank you.
👍 2