- colors
- 2 or more ARGB colors
Sets the colors used to draw the gradient. Each color is specified as an ARGB integer and the array must contain at least 2 colors.
Note: changing orientation will affect all instances of a drawable loaded from a resource. It is recommended to invoke GradientDrawable.mutate() before changing the orientation.