Computer scienceMobileAndroidUser InterfaceGraphics

ConstraintLayout vs RelativeLayout

Theory

This looks bad

Report a typo

Which layout has these cons?

  • It requires a clear understanding of how the placement and sizing of views are affected by their relationships to each other and to the parent layout.
  • For simpler layouts, this layout manager may introduce unnecessary complexity.
  • Mastering the visual editor for setting up relationships between views can take some time.
  • While it is backward compatible with older Android versions via the Android Support Library, using it on very old versions of Android may lead to unexpected results or compatibility issues.
Enter a short text
___

Create a free account to access the full topic