public abstract class ComplexColor extends Object
ColorStateList
or GradientColor
Constructor and Description |
---|
ComplexColor() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
canApplyTheme() |
int |
getChangingConfigurations()
Returns a mask of the configuration parameters for which this color
may change, requiring that it be re-created.
|
abstract ConstantState<ComplexColor> |
getConstantState() |
abstract int |
getDefaultColor() |
boolean |
isStateful() |
abstract ComplexColor |
obtainForTheme(Resources.Theme t) |
public boolean isStateful()
true
if this ComplexColor changes color based on state, false
otherwise.public abstract int getDefaultColor()
public abstract ConstantState<ComplexColor> getConstantState()
public abstract boolean canApplyTheme()
public abstract ComplexColor obtainForTheme(Resources.Theme t)
public int getChangingConfigurations()
ActivityInfo
ActivityInfo