Sign in Go Pro

Constraint Layout

Dimension Constraints

This lesson is for PRO members.

Upgrade today to get access to all the PRO lessons.

Unlock this lesson



In this lesson, we will explore how to size views in ConstraintLayout. We will review the different types of dimension constraints: fixed, wrap content, and match constraint.

Match constraint is a ConstraintLayout-specific dimension value which takes the place of match_parent, while having its own particular behavior. We will talk about how match constraint works as well as how to specify match constraint and they other dimension values in the Layout Editor and in XML.





Nice course!

You need to go PRO to post comments.

Lessons in Constraint Layout