Recent Changes‎ > ‎

ConstraintLayout - alpha 5 available

posted Aug 3, 2016, 11:15 AM by Nicolas Roard   [ updated Aug 3, 2016, 11:17 AM ]
We've just released ConstraintLayout alpha 5, available in the SDK Manager (under the "Support Repository" section)

This builds primarily fixes various issues, and we highly encourage you to switch from alpha 4!
  • forward references were broken
  • correct handling of "any size" on layout
  • layout issues on pre-ICS systems
We also introduce a new notation for referencing a constraint to the parent -- instead of having to specify an id, you can now simply use "parent" instead.

For example, instead of:
app:layout_constraintTop_toTopOf="@+id/constraintLayout"

You can now do:
app:layout_constraintTop_toTopOf="parent"
This allows greater flexibility when using fragments / merge.

Thanks everyone for the bug reports / feature requests!
Comments