问题
Im using this lib for adding my slidemenu. This work when i swipe the screen but how can I show the menu in an on click method? I've been browsing this whole lib but just can't find the on click code!
回答1:
Use:
toggle();
When inside a SlidingActivity or SlidingFragmentActivity (or any of the others).
回答2:
This will open the menu:
toggle();
来源:https://stackoverflow.com/questions/14566549/using-slidingmenu-for-android