在android抽屜Drawer_layout開發中,需要關閉手勢滑動,來滑出彈出框
//禁止手勢滑動
mDrawer_layout.setDrawerLockMode(DrawerLayout.LOCK_MODE_LOCKED_CLOSED);
//打開手勢滑動
mDrawer_layout.setDrawerLockMode(DrawerLayout.LOCK_MODE_UNLOCKED);
在android抽屜Drawer_layout開發中,需要關閉手勢滑動,來滑出彈出框
//禁止手勢滑動
mDrawer_layout.setDrawerLockMode(DrawerLayout.LOCK_MODE_LOCKED_CLOSED);
//打開手勢滑動
mDrawer_layout.setDrawerLockMode(DrawerLayout.LOCK_MODE_UNLOCKED);