Sign in Go Pro

Constraint Layout

Edge Constraints

 

Up next

Previous

About

In this lesson, we're going to look at the most basic constraint, the edge constraint. The edge constraints allows us to position a single side of a view inside of the `ConstraintLayout`. We will talk about how to create edge constraints in the Layout Editor using anchors. We will also look at the basic template for creating edge constraints in XML. Also we will discuss important things to remember to effectively and completely constrain views using edge constraints.

Lessons in Constraint Layout