concept shape drawable in category android

appears as: shape drawables
Android in Practice

This is an excerpt from Manning's book Android in Practice.

Shape drawables are a great way of arriving at neat-looking visual elements without having to mess about with image-manipulation programs. They’re customizable via the source code, and you as the developer, have full control. Did I hear the design team scream? Yes, it’s their job to create nice-looking graphics, but if you want to add an outline to a widget or you need more flexibility, use the color palette assigned by the designers. That’s teamwork!

We mentioned that you can create more than boxes and borders. Shape drawables can take various sizes and shapes, from rectangles and ovals to lines and rings. Table 4.5 summarizes most of the elements you can use to define shape drawables (we’ve omitted some of the more obscure attributes for brevity).