Close floating action button Android -


i used following library https://github.com/futuresimple/android-floating-action-button , works fine.
how close menu automatically after clicking on 1 of buttons on same menu?

its open-source lib, can read source code , find self.

floatingactionsmenu.collapse(); // close menu floatingactionsmenu.toggle(); // toggle menu floatingactionsmenu.expand(); // open mneu 

in click listener of menu item call .collapse()


Comments