Open Saharatt593 opened 3 years ago
Please provide an example or a test case that demonstrates it loads faster. Your proposed change leads to a deeper view hierarchy and has a lot of View's with "layout_weight". These are documented to be two things that increase inneficiency. The first paragraph of the link you provided states just that
ConstraintLayout is Complex And more future. You will be most noticeable in this combination with fragment and more components.You can see the performance test https://android.jlelse.eu/constraint-layout-performance-870e5f238100 And other blogs. And Sorry for late reply.
LinearLayout is better ConstraintLayout Loads faster on low-performance devices https://developer.android.com/training/improving-layouts/optimizing-layout