O'Reilly logo

Pro Android Graphics by Wallace Jackson

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

Chapter     12

Advanced Image Compositing: Using the LayerDrawable Class

In this twelfth chapter, we’ll take a closer look at the role that layers play in Android and digital image compositing, as well as how to implement LayerDrawable objects in Android to enhance our digital image compositing capabilities.

Layers are created and managed in Android applications by using one of the subclasses of the Drawable superclass. This subclass specifically manages layer stacks and is called the LayerDrawable class.

A layer will allow more advanced digital image compositing to be performed because it allows more than just an image or two to be composited together, such as you did in the previous chapter on PorterDuff image blending modes.

A LayerDrawable ...

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