https://kotlinlang.org logo
d

Dieter Holz

02/24/2021, 10:40 PM
What happened to ConstraintLayout in beta01?
v

Vsevolod Ganin

02/24/2021, 10:43 PM
They moved it to separate dependency in latest alpha. For beta01 the compatible version is
androidx.constraintlayout:constraintlayout-compose:1.0.0-alpha03
d

Dieter Holz

02/24/2021, 11:06 PM
Great. Thank you!
z

Zach Klippenstein (he/him) [MOD]

02/24/2021, 11:16 PM
You don’t need to use it, but it’s there if you want it.
🎉 1
👍 1
s

Sean McQuillan [G]

02/24/2021, 11:48 PM
^ you shouldn't feel the need to use constraint layout for the same performance reasons in basic nested Row/Column layouts (there's no nested layout weight performance fault to run into) Instead, think about it as a tool to reach for when building designs that are best expressed with constraints (overlapping bits, centering, sizing based on constraints from the other side of the screen, or other constraint based specifications)
👍 4
a

allan.conda

02/25/2021, 7:37 AM
It’s not visible in the release notes yet? I can’t find it. Hard to track the latest version https://developer.android.com/jetpack/androidx/releases/constraintlayout
2 Views