通过查看slidingmenu的viewpage例子,发现如下代码,添加进去后调试正常.
@Override
public void onPageSelected(int position) {
switch (position) {
case 0:
context.getSlidingMenu().setTouchModeAbove(SlidingMenu.TOUCHMODE_FULLSCREEN);
break;
default:
context.getSlidingMenu().setTouchModeAbove(SlidingMenu.TOUCHMODE_MARGIN);
break;
}
}
ViewPaper和slidingmenu冲突?,布布扣,bubuko.com
原文地址:http://blog.csdn.net/leehu1987/article/details/26391813