Interface DynamicFloatingWidget
- All Known Implementing Classes:
DynamicCardView,DynamicMaterialCardView,DynamicPopupBackground
public interface DynamicFloatingWidget
Interface to create dynamic widgets with floating surface options which can be used to adjust
their elevation, background, stroke, etc. according to the
DynamicTheme.-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether this widget a floating view.voidsetFloatingView(boolean floatingView) Set the floating view option for this widget.
-
Method Details
-
isFloatingView
boolean isFloatingView()Returns whether this widget a floating view.- Returns:
trueif this view is a floating view.
-
setFloatingView
void setFloatingView(boolean floatingView) Set the floating view option for this widget.- Parameters:
floatingView-trueto enable floating view.
-