jfeinstein10 / SlidingMenu

An Android library that allows you to easily create applications with slide-in menus. You may use it in your Android apps provided that you cite this project and include the license in your app. Thanks!
Apache License 2.0
11.08k stars 5.05k forks source link

Sliding menu not closing #689

Open alvaronuwit opened 9 years ago

alvaronuwit commented 9 years ago

Hi, I'm using slidingmenu and I want to close de menu when I press one of the elements on the menu. I use the showMenu() method, but this don't close the menu at all. My set up is a main activity with an ActionBar, inside there are 2 fragments one for the menu and the other for the content of the section selected. So, I click over a menu item, It changes the fragment but, when I call showMenu() to close the menu, It doesn't close at all. Any help you can give? Thanks

Fiddl3 commented 9 years ago

to hide menu you need to call showContent() not showMenu()

alvaronuwit commented 9 years ago

Thanks man, I write this comment, and then I realize that showContent close the menu. Best Regards

Fiddl3 commented 9 years ago

No problem :ok_hand:

zhongjie-chen commented 8 years ago

so am i,thanks the problem