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 TypeMethodDescriptionboolean
Returns whether this widget a floating view.void
setFloatingView
(boolean floatingView) Set the floating view option for this widget.
-
Method Details
-
isFloatingView
boolean isFloatingView()Returns whether this widget a floating view.- Returns:
true
if this view is a floating view.
-
setFloatingView
void setFloatingView(boolean floatingView) Set the floating view option for this widget.- Parameters:
floatingView
-true
to enable floating view.
-