xLite
xLite copied to clipboard
Lint: Nested layout weights: exponential performance loss in viewers
Priority: Urgent
Problem: Scrolling often feel laggy, especially in the event viewers. The XML files and code controlling these viewers are far from optimized and possibly outdated at worst.
Lint give the following complaint:
Nested weights are bad for performance
and explains it with:
Layout weights require a widget to be measured twice. When a LinearLayout with non-zero weights is nested inside another LinearLayout with non-zero weights, then the number of measurements increase exponentially.
The 79 affected XML files are too many to show... Please compile and check lint results for more details