Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个从 jfeinstein10 实现滑动菜单的应用程序,但我无法让菜单保持固定,直到用户执行某些操作。有任何想法吗?例如,当单击列表视图上的项目时
解决了!!我做了以下事情:
禁用菜单:
getSlidingMenu()setTouchModeBehind(SlidingMenu.TOUCHMODE_NONE);
并启用菜单:
getSlidingMenu()setTouchModeBehind(SlidingMenu.TOUCHMODE_MARGIN);