Closed taltstidl closed 9 years ago
Commit 0a0fc5834cd38c36c133257ad09dbc026daff0ca added this option. Attaching and detaching is done by calling setFloatingActionButtonAttached(boolean attached)
, where attached
is true
if you want the fab to be attached to the panel, and false
if you don't.
Taken from issue #12. The code should support the ability to detach and attach the Floating Action Button at runtime. This will probably be done via calls to the FloatingActionButtonLayout (
mFloatingActionButtonLayout.detachFloatingActionButton()
andmFloatingActionButtonLayout.attachFloatingActionButton()
).