ConstraintLayout 2.1.0 & ConstraintLayout-compose 1.0 beta 2
Friday, July 30, 2021
We are very happy to announce the release of ConstraintLayout 2.1.0, the final release for 2.1, as well as the 1.0.0 beta02 release for ConstraintLayout in Jetpack Compose
dependencies {
implementation 'androidx.constraintlayout:constraintlayout:2.1.0'
}
dependencies {
implementation 'androidx.constraintlayout:constraintlayout-compose:1.0.0-beta02'
}
What's new in 2.1.0
More information about the new features in 2.1.0 can be found on the wiki, the source code is available on https://github.com/androidx/constraintlayout
What's new in 1.0 beta 2 (Jetpack Compose)
More information about the new features in 1.0 can be found on the wiki, the source code is available on https://github.com/androidx/constraintlayout. Examples found here.
1.0 beta 2 changes
update to depends on compose 1.0
ConstraintLayout
- added an animateChanges parameter for automatic animation between two constraintsets
- fix parsing issue in the JSON parser