Chains in ConstraintLayout

How to Create a Chain

To create a chain you need to select all the views that you would like chained and right-click. From there, look for “Chains” and you can either select “Create Horizontal Chain” or “Create Vertical Chain”.

Types of Chains

  1. The first style of chain is “Spread”. This is where the views are evenly spaced out between each other.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Alexander Portillo

Alexander Portillo

20 Years Old | Pursing Android Development