ConstraintLayout and the Attributes Pane

When you click on a widget inside a ConstraintLayout, the Attributes pane has a strange-looking control in the “Layout” category of attributes:

Constraint Configuration Thingy
Constraint Configuration Thingy

The chevrons inside the square indicate that the sizing rule is wrap_content for each axis. Clicking on one of the chevrons will toggle between states for that axis:


Prev Table of Contents Next

This book is licensed under the Creative Commons Attribution-ShareAlike 4.0 International license.