taltstidl / AndroidSlidingUpPanel

This library provides a simple way to add a draggable sliding up panel (popularized by Google Music and Google Maps) to your Android application. Brought to you by Umano.
http://umano.me
Apache License 2.0
13 stars 6 forks source link

Add ability to attach and detach Floating Action Button #13

Closed taltstidl closed 9 years ago

taltstidl commented 9 years ago

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() and mFloatingActionButtonLayout.attachFloatingActionButton()).

taltstidl commented 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.