Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Android Studio Cookbook

You're reading from   Android Studio Cookbook Design, test, and debug your apps using Android Studio

Arrow left icon
Product type Paperback
Published in Oct 2015
Publisher
ISBN-13 9781785286186
Length 232 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Mike van Drongelen Mike van Drongelen
Author Profile Icon Mike van Drongelen
Mike van Drongelen
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Overdraw issues

The interface of your app needs to render quickly, and interaction, such as scrolling through a list, for example, should run smoothly. In particular, older or low-end devices often have a hard time to do these things right. An unresponsive or slow UI can be the result, which is often caused by something that is called overdraw.

Overdraw is the phenomenon of a pixel on a view being drawn more than once. A colored background with a view on top of that has another background color is an example of overdraw (the pixel is drawn twice), but that's not really an issue. Too much overdraw, however, will have an impact on your app's performance.

Getting ready

You will need to have a real device and you need to complete the The Bad app from the previous recipe to demonstrate overdraw issues, but you can examine any other app as well if you like.

How to do it...

Your device contains a couple of interesting developer options. One of them is the Debug GPU overdraw option which can...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at ₹800/month. Cancel anytime