Layout and image qualification

There are two issues that we need to consider here: screen density and aspect ratio. If you have done any Android development before, you will be aware of DPI and screen size groupings. These designated folders provide handy shortcuts to suit the enormous variety of available form factors, but we will all have experienced apps with layouts that don't quite work on our devices. This is something that is entirely avoidable, and although countering it will take some effort on our part, it will result in avoiding those poor ratings that can so damage a revenue stream.

It is very tempting to create an app that will work on as many form factors as possible, and Android Studio will occasionally encourage you to think ...

Get Mastering Android Studio 3 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.