Open ryenyuku opened 3 years ago
Well, First of all, i appreciate your idea of using LinearLayout
instead of ConstraintLayout
with the reason "too heavy to inflate". You know, ConstraintLayout
is a new thing, it's purpose is to allow you to position all of your children without having to nest any other ViewGroups
inside the ConstraintLayout
. It makes development faster and easier, even if it is a bit heavier than LinearLayout
you will only need 1 ConstraintLayout
to make a whole layout, but with LinearLayout
you will need to nest it over other LinearLayout
s to create a complex UI, not only will it take longer to create, but it also consumes more memory and that leads into performace issue. And by that being said, ConstraintLayout
is slowly becoming a standard for most android layouts.
Current version is very heavy at inflating views because of constraintlayout.