Interface BaseTheme<T extends BaseTheme<T>>
- Type Parameters:
T
- The type of the dynamic theme.
- All Known Subinterfaces:
AccentTheme<T>
,AutoTheme<T>
,BackgroundAware<T>
,BackgroundTheme<T>
,CodeTheme<T>
,CornerTheme<T>
,DynamicColor<T>
,ElevationTheme<T>
,ErrorTheme<T>
,PrimaryTheme<T>
,ResourceTheme<T>
,StringTheme<T>
,StrokeTheme<T>
,StyleTheme<T>
,SurfaceTheme<T>
,TextTheme<T>
,TranslucentTheme<T>
,TypeTheme<T>
,WidgetTheme<T,
V>
- All Known Implementing Classes:
AppTheme
,AppWidgetTheme
public interface BaseTheme<T extends BaseTheme<T>>
An interface to implement the base theme.
-
Method Summary
-
Method Details
-
isHost
boolean isHost()Returns whether this theme is host and can have child themes.- Returns:
true
if this theme is host and can have child themes.
-
setHost
Sets whether this theme is host and can have child themes.- Parameters:
host
-true
to set the theme as host.- Returns:
- The
BaseTheme
object to allow for chaining of calls to set methods.
-