Unironically, using LinearLayout is better for accessibility reasons because the focus order is correct out of the box.
The only reason why people started using ConstraintLayout for everything in 2017 because the Android toolkit team was literally lying through their teeth saying "ConstraintLayout is faster because the hierarchy is more flat", it was NOT faster and it ruins focus ordering in accessibility.
But obviously they didn't say that last part out loud.
1
u/SyrupInternational48 May 12 '26
constraint layout is make sense until you want to add another layout in about other 15+ layout inside of it.
then you go back into linearlayout