Sherlock Action Bar With Sliding Menu
I'm making a view and an activity extending SherlockMapActivity and using SlidingMenu libraries to make my main view to scroll like Google+ does. I've added the SlidingMenu by XML
Solution 1:
I've solved my problem.
In order to make my Action Bar to Slide, I had to modify the SlidingMenu this way:
- Checkout a clean copy of ActionBarSherlock and import into your Eclipse workspace.
- Add ActionBarSherlock as a dependency to SlidingMenu.
- Go into the SlidingActivities that you plan on using make them extend Sherlock__Activity instead of __Activity.
Then I extended my MainActivity from SlidingMapActivity and it worked perfectly.
Solution 2:
Okay I think I found your answer. Try checking out this project on github: https://github.com/jfeinstein10/SlidingMenu
Here is a video of it in action: http://www.youtube.com/watch?v=8vNaANLHw-c&feature=youtu.be
Solution 3:
In my case, I prefer to add this slideMenu in code.
Well, when you create this SlideMenu:
menu = newSlidingMenu(this);
menu.setMode(SlidingMenu.LEFT);
then set this line too:
menu.attachToActivity(this, SlidingMenu.SLIDING_WINDOW);
This makes the magic!.
Solution 4:
Here is a complete project developed by me for easy sliding menu developer http://github.com/leonardosalles/shipp-sliding-menu
Post a Comment for "Sherlock Action Bar With Sliding Menu"