See Also: GradientDrawable Members
A Drawable with a color gradient for buttons, backgrounds, etc.
It can be defined in an XML file with the <shape> element. For more information, see the guide to Drawable Resources.
[Android Documentation]