It’s available from the maven repository:
dependencies { compile 'com.android.support.constraint:constraint-layout:1.1.0-beta2' }
Changes:
- Many bug fixes (mostly in complex behavior in chains, match constraint, min/max/ratio/percent)
- Redesign of the constraint optimizer, performances are improved
- Change in behavior with 0dp in packed chain (0dp elements will spread)
- Added a new attribute to enforce constraints on wrap_content if needed (previously, wrap_content was considered a fixed dimension not subject to the constraints):
- app:layout_constrainedWidth=”true|false”
- app:layout_constrainedHeight=”true|false”
- Note that the setting to have a match_constraint set to wrap behavior has been deprecated, instead you should use the above layout_constrainedWidth/Height attribute along with width=wrap_content.