Optimize complex layout
android, android-layout, user-interface
Solution
After many optimizations, i change my layout like this
Problem
I develop an audio player for Android and in my browse album activity I have a performance problem: lot of lag on scroll. In this image is my layout representation : It's a ListView which display a row; a row contains 5 albums grouped by artist. Each different color is a different layout file. And each file is managed by an Adapter. In the album (orange color), I don't use compoundDrawable on the TextView because I have ImageView lazy loading and I don't understand how I can make this lazy loading on textview compoundDrawable. If you need, I can post all layout files.