Nine-Patch Stretchable Image Android supports a stretchable
bitmap image. This is a PNG image in which you define
stretchable sections that Android will resize to fit the object
at display time to accommodate variable sized sections, such as
text strings. You typically assign this resource to the View's
background. An example use of a stretchable image is the button
backgrounds that Android uses; buttons must stretch to
accommodate strings of various lengths. A NinePatch drawing is a
standard PNG image that includes a 1 pixel wide border. This
border is used to define the stretchable and static areas of the
screen. You indicate a stretchable section by drawing one or
more 1 pixel wide black lines in the left or top part of this
border. You can have as many stretchable sections as you want.
The relative size of the stretchable sections stays the same, so
the largest sections always remain the largest. You can also
define an optional drawable section of the image (effectively,
the padding lines) by drawing a li