GradientDrawable
GradientDrawable is an Android framework drawable that renders shapes filled with color gradients. It can produce linear, radial, or sweep gradients and can be used as a background for views or as icons. As a subclass of Drawable, it combines shape properties with gradient rendering, making it a common tool for custom UI skins without bitmap resources.
A GradientDrawable supports multiple gradient types, including linear, radial, and sweep, and an orientation for linear
GradientDrawable can be defined in XML or created programmatically. In XML, it is typically declared as a