Interface DynamicBackgroundWidget
- All Known Implementing Classes:
DynamicBottomAppBar
,DynamicBottomNavigationView
,DynamicNavigationRailView
,DynamicNavigationView
,DynamicTabLayout
,DynamicToolbar
public interface DynamicBackgroundWidget
Interface to create dynamic widgets with a background which can be tinted according
to the
DynamicTheme
.-
Method Summary
Modifier and TypeMethodDescriptionint
Returns the value of background color applied to this widget.int
Returns the background color type applied to this widget.void
setBackgroundColor
(int backgroundColor) Set the value of background color for this widget.void
setBackgroundColorType
(int backgroundColorType) Set the background color type to this widget.
-
Method Details
-
getBackgroundColorType
int getBackgroundColorType()Returns the background color type applied to this widget.- Returns:
- The background color type applied to this widget.
- See Also:
-
setBackgroundColorType
void setBackgroundColorType(int backgroundColorType) Set the background color type to this widget.- Parameters:
backgroundColorType
- Text color type for this widget.- See Also:
-
getBackgroundColor
Returns the value of background color applied to this widget.- Returns:
- The value of background color applied to this widget.
-
setBackgroundColor
Set the value of background color for this widget.- Parameters:
backgroundColor
- Background color for this widget.
-