Optimize layout hierarchies | Views | Android Developers
https://developer.android.com/develop/ui/views/layout/improving-layouts/optimizing-layouts
WebMar 27, 2024 · Layout hierarchy for the layout in figure 1, using nested instances of LinearLayout . Revise your layout. Because the preceding layout performance slows down due to a nested LinearLayout, you might improve performance by flattening the layout—in other words, making the layout shallow and wide, rather than narrow and deep.
DA: 58 PA: 35 MOZ Rank: 39