A deeper look into the internal structure and mechanics of ConstraintLayout. We will examine the measure and layout passes, in addition to how constraints are resolved. Let’s see if we can strip away some of the magic of this new container to better understand how the whole process works.
An examination of the basics of the ConstraintLayout container and what features are available to developers. ConstraintLayout is sold as a flexible container that will drastically simply flattening view hierarchies and reduce nesting. We will look at the XML attributes that define constraints, and the view measurement semantics used.