Disable DrawerLayout's scrim touch gesture
问题 I need to disable touch gesture on the scrim (the red highlighted part). I want to dismiss the drawer only with the swipe. The issue is that when the drawer layout is open and I need to select an element from the ListView below the red highlighted part, what's happend is that the drawer get closed and only at this point I can select an element from the ListView. I need to select the element from the ListView directly, also when the Drawer is opened 回答1: You have to create custom drawer for