Thursday, August 30, 2018

ConstraintLayout 1.1.3

We just released ConstraintLayout 1.1.3. It’s available from the google maven repository:

dependencies {
    implementation 'com.android.support.constraint:constraint-layout:1.1.3'
}

Or if you are using AndroidX:

dependencies {
    implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
}

This release contains a few fixes as well as several performance optimizations. Specifically, chains optimizations are now turned on by default and should result in measurable performance increase on older devices.

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