ComplexColorCompat
Represents a color which is one of either:
- A Gradient; as represented by a Shader.
- A ColorStateList
- A simple color represented by an
int
Functions
Link copied to clipboard
open fun inflate(@NonNull resources: Resources, @ColorRes resId: Int, @Nullable theme: Resources.Theme): ComplexColorCompat
Creates a ComplexColorCompat from an XML document using given a set of Resources and a Resources.Theme.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard