- shape
- The desired shape for this drawable: GradientDrawable.LINE, GradientDrawable.OVAL, GradientDrawable.RECTANGLE or GradientDrawable.RING
Sets the type of shape used to draw the gradient.
Note: changing this property will affect all instances of a drawable loaded from a resource. It is recommended to invoke GradientDrawable.mutate() before changing this property.