Here is how my Clans Floating Action Menu structure looks like :
<com.github.clans.fab.FloatingActionMenu>
<com.github.clans.fab.FloatingActionButton/>
<com.github.clans.fab.FloatingActionButton/>
<com.github.clans.fab.FloatingActionButton/>
</com.github.clans.fab.FloatingActionMenu>
I want the Clans Floating Action Menu to be Collapsed when I click on one of Floating Action Button. I couldn't find anything on Internet.
Something Like (Random) :
floatingMenu.setState(FloatingActionMenu.STATE_COLLAPSED);
OR
floatingMenu.setState(FloatingActionMenu.STATE_EXPANDED);
And also this menu is on my app's home screen. So what happens is that when I press back button to close an activity and come back again to home, the menu is still open showing it's all action buttons.
So I want to close (Change state of FloatingActionMenu
) the menu
.
Note : If you want more clarification, comment below, I will attach a screenshot.