Interface DynamicColor<T extends DynamicColor<T>>
- Type Parameters:
- T- The type of the dynamic theme.
- All Superinterfaces:
- AccentTheme<T>,- BackgroundTheme<T>,- BaseTheme<T>,- ElevationTheme<T>,- ErrorTheme<T>,- PrimaryTheme<T>,- SurfaceTheme<T>
- All Known Implementing Classes:
- AppTheme,- AppWidgetTheme
public interface DynamicColor<T extends DynamicColor<T>>
extends BaseTheme<T>, BackgroundTheme<T>, SurfaceTheme<T>, PrimaryTheme<T>, AccentTheme<T>, ErrorTheme<T>
A 
BaseTheme to implement the dynamic color theme.- 
Method SummaryModifier and TypeMethodDescriptionReturn the dynamic colors used by the app.booleanReturns whether to the dynamic colors are used by this theme.Methods inherited from interface com.pranavpandey.android.dynamic.theme.base.AccentThemegetAccentColor, getAccentColor, getAccentColor, getAccentColorDark, getAccentColorDark, getAccentColorDark, getTintAccentColor, getTintAccentColor, getTintAccentColor, getTintAccentColorDark, getTintAccentColorDark, getTintAccentColorDark, setAccentColor, setAccentColor, setAccentColorDark, setAccentColorDark, setTintAccentColor, setTintAccentColorDarkMethods inherited from interface com.pranavpandey.android.dynamic.theme.base.BackgroundThemegetBackgroundColor, getBackgroundColor, getBackgroundColor, getTintBackgroundColor, getTintBackgroundColor, getTintBackgroundColor, isDarkTheme, isInverseTheme, isShowDividers, setBackgroundColor, setBackgroundColor, setTintBackgroundColorMethods inherited from interface com.pranavpandey.android.dynamic.theme.base.BaseThemeisHost, setHostMethods inherited from interface com.pranavpandey.android.dynamic.theme.base.ElevationThemegetElevation, getElevation, isElevation, setElevationMethods inherited from interface com.pranavpandey.android.dynamic.theme.base.ErrorThemegetErrorColor, getErrorColor, getErrorColor, getTintErrorColor, getTintErrorColor, getTintErrorColor, setErrorColor, setErrorColor, setTintErrorColorMethods inherited from interface com.pranavpandey.android.dynamic.theme.base.PrimaryThemegetPrimaryColor, getPrimaryColor, getPrimaryColor, getPrimaryColorDark, getPrimaryColorDark, getPrimaryColorDark, getTintPrimaryColor, getTintPrimaryColor, getTintPrimaryColor, getTintPrimaryColorDark, getTintPrimaryColorDark, getTintPrimaryColorDark, setPrimaryColor, setPrimaryColor, setPrimaryColorDark, setPrimaryColorDark, setTintPrimaryColor, setTintPrimaryColorDarkMethods inherited from interface com.pranavpandey.android.dynamic.theme.base.SurfaceThemegetSurfaceColor, getSurfaceColor, getSurfaceColor, getTintSurfaceColor, getTintSurfaceColor, getTintSurfaceColor, isBackgroundSurface, setSurfaceColor, setSurfaceColor, setTintSurfaceColor
- 
Method Details- 
isDynamicColorboolean isDynamicColor()Returns whether to the dynamic colors are used by this theme.- Returns:
- trueif the dynamic colors are used by this theme.
 
- 
getDynamicColorsReturn the dynamic colors used by the app.- Returns:
- The dynamic colors used by the app.
 
 
-