O'Reilly logo

Android™ Development Patterns: Best Practices for Professional Developers by Phil Dutson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

9. Drawing and Animation

Creating rich experiences in Android applications cannot be done with amazing code alone. There must be visual allure—something that draws users in and gives their minds something to play with for those moments between view changes, swipes, and loading events.

This can be done with shapes, drawables, bitmaps, 3D graphics, and animation. This chapter explains the classes, frameworks, and best practices to add visuals to your application.

Graphics

Whether you are displaying a bitmap or using OpenGL ES to create textures and shapes, there are multiple ways to display visuals with Android. In this section, you learn about bitmaps, drawables, and rendering with OpenGL ES.

Bitmaps

Bitmaps are collections of pixel information ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required