dependencies {
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
}
Or if you are using AndroidX:
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
}
We recommend to update to this release.
Fixes and changes:
- Barriers clone() in ConstraintSet
- When setting ids of views programmatically, constraints were not correctly updated
- Barriers position fixes with centered connections
- Chains evaluation not correctly reset in some situations resulting in large performance penalty
- Max constraints fixes
- Chains optimisations are turned on by default (app:layout_optimizationLevel)
Documentation is available on https://developer.android.com/reference/android/support/constraint/ConstraintLayout.html