O'Reilly logo

Android Programming: The Big Nerd Ranch Guide by Brian Hardy, Bill Phillips

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

25XML Drawables And 9-Patches

In the last chapter, you quickly built a TV remote control interface using advanced layout tips and tricks. It looks okay, but maybe a little drab because it uses the stock Android look and feel for all of its buttons. In this chapter, you will use two new tools to give it a completely unique look and feel.

Figure 25.1  RemoteControl makeover

RemoteControl makeover

Both of these tools are drawables. Android calls anything that is intended to be drawn to the screen a drawable, whether it is an abstract shape, a clever bit of code that subclasses the Drawable class, or a bitmap image. You have already seen one kind of drawable: BitmapDrawable ...

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