May 2022
Intermediate to advanced
688 pages
20h 12m
English
ConstraintLayout has additional capabilities to help arrange its child views. In this chapter you positioned views by constraining them to the parent as well as to other, sibling views. ConstraintLayout also includes helper views, such as Guidelines, that simplify arranging views on the screen.
Guidelines do not display on the app screen; they are just a tool to help you position views.
There are both horizontal and vertical guidelines, and they can be placed at a specific location on the screen using dp values or by setting them to be a percentage of the screen. Other views can be constrained to the guideline to ensure that they appear at the same location, even if the ...
Read now
Unlock full access