Using bitmap images in Android

Images are a major part of styling your application. They are used for icons, borders, backgrounds, logos, and many other purposes. Android does its best to make sure the images you use as resources render as well as possible across the different types of screens used on Android devices.

Android's automatic handling of images if far from perfect. However, there are times when you will need several different variations of the same image for your application to look right on all of the different devices.

Handling different screen sizes

When working with any bitmap image in Android, it's very important to consider that your application will be run on a variety of different screens, both different sizes and densities. ...

Get Android User Interface Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.