Reduce Overdraw in Your App to Increase UI Performance
It’s no secret that many mobile devices, especially older ones, often struggle with GPU-intensive drawing tasks. This generally manifests itself in choppy UI performance. And if you’re an app developer, this results in a kludgy application that your users will find burdensome to use.
We all know that excessive overdraw is bad. But how do we go about limiting it? Using Android’s built-in developer options, you can easily visualize the amount of overdraw in any hardware accelerated view. XDA Forum Member alobo has created a mini-guide that shows you where to locate the requisite options and how interpret the results, ranging from blue (1x overdraw) to red (4x overdraw). He also gives a few pointers on how to limit overdraw in your own apps, as well as pointing to an excellent guide by Romain Guy on the matter.
If you’re looking to optimize drawing operations in your next app, all you have to do is head over to the tutorial thread and get started. Your app’s users will appreciate the snappier UI performance.
Want something on the XDA Portal? Send us a tip!