ColorArrayAttrGradientDrawableResolver
data class ColorArrayAttrGradientDrawableResolver(@AttrRes gradientColorArrayAttrId: Int, orientation: GradientDrawable.Orientation) : DrawableResolver
Content copied to clipboard
A DrawableResolver that retrieves a color array from a theme using gradientColorArrayAttrId and creates a GradientDrawable from it. The gradient will have a linear shape with the given orientation.
Constructors
Link copied to clipboard
fun ColorArrayAttrGradientDrawableResolver(@AttrRes gradientColorArrayAttrId: Int, orientation: GradientDrawable.Orientation)
Content copied to clipboard