Interface AutoTheme<T extends AutoTheme<T>>
- Type Parameters:
T
- The type of the dynamic theme.
- All Superinterfaces:
BaseTheme<T>
- All Known Implementing Classes:
AppTheme
,AppWidgetTheme
A
BaseTheme
to implement the auto theme.-
Method Summary
Modifier and TypeMethodDescriptionAuto generate tint or inverse colors according to the base colors.autoGenerateColors
(boolean tint, boolean inverse) Auto generate tint or inverse colors according to the base colors.
-
Method Details
-
autoGenerateColors
Auto generate tint or inverse colors according to the base colors. They can be set individually by calling the appropriate methods.- Parameters:
tint
-true
to generate tint colors.inverse
-true
to generate inverse colors.- Returns:
- The
AutoTheme
object to allow for chaining of calls to set methods.
-
autoGenerateColors
Auto generate tint or inverse colors according to the base colors. They can be set individually by calling the appropriate methods.- Returns:
- The
AutoTheme
object to allow for chaining of calls to set methods. - See Also:
-