using SlidingMenu for android [closed]

可紊 提交于 2020-01-05 07:44:08

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!