Posts Constraint Layout
Post
Cancel

Constraint Layout

Constraints Layout

Makesure you have added the dependency of Constraint layout.

implementation 'androidx.constraintlayout:constraintlayout:1.1.3'

The below are the capability or features of the constraint layout.

  1. Can design any layout by Constraints layout
  2. Layout is flat. (Layout should be as flat as possible coz Android takes much more time to rendering the view position on the screen)
  3. 0dp for match parent like
  4. Chain Views
  5. Use baseline
  6. Helper → Guidelines features
This post is licensed under CC BY 4.0 by the author.