Remember the times when we looked at design mock-ups, and we had to rack our brains about what combinations of view groups (RelativeLayout, LinearLayout, etc.) to use to get that high performing pixel perfect UX?!
At real life situations, it even got worse when we had to resort to nesting view groups just for the sake of design and deadlines.
Well, those times are over. Today, we have ConstraintLayout! 😎
Google introduced the library in its 2016 Google I/O conference. It allows us to express complex UI in a very explicit, productive and flexible manner. …
When it comes to layout creation in Android, ConstraintLayout is literally the Holy Grail!
Google blessed us with ConstraintLayout for quiet a while now. If you are still unfamiliar with it, it’s time to get into it right away. It has some really amazing features that allow to handle almost every possible layout structure.
However, I still see on StackOverFlow and similar online communities that developers are still struggling with simple layout cases that really require some simple tricks and workarounds to handle.
This article is about the common mistakes that beginners do when dealing with ConstraintLayout.