Open NavigationView on Right Swipe from everywhere on the layout
问题 I would like to open the navigationview on a right swipe, no matter where the right swipe is. Default you have to make the right swipe quite at the side, but I want to swipe for example from the middle to open the navigationview 回答1: you could either increase the swipe edge of the drawer using something like this public static void increaseSwipeEdgeOfDrawer(DrawerLayout mDlSearchDrawer) { try { Field mDragger = mDlSearchDrawer.getClass().getDeclaredField( "mRightDragger");//mRightDragger or