The following is the first few sections of a chapter from The Busy Coder's Guide to Android Development, plus headings for the remaining major sections, to give you an idea about the content of the chapter.

Crafting Your Own Views

One of the classic forms of code reuse is the GUI widget. Since the advent of Microsoft Windows — and, to some extent, even earlier – developers have been creating their own widgets to extend an existing widget set. These range from 16-bit Windows “custom controls” to 32-bit Windows OCX components to the innumerable widgets available for Java Swing and SWT, and beyond. Android lets you craft your own widgets as well, such as extending an existing widget with a new UI or new behaviors.


Understanding this chapter requires that you have read the core chapters of this book.

Pick Your Poison

The preview of this section is presently indisposed.

Colors, Mixed How You Like Them

The preview of this section was eaten by a grue.

ReverseChronometer: Simply a Custom Subclass

The preview of this section was eaten by a grue.

AspectLockedFrameLayout: A Custom Container

The preview of this section was lost due to a rupture in the space-time continuum.

Mirror and MirroringFrameLayout: Draw It Yourself

The preview of this section took that left turn at Albuquerque.