android - Prevent DrawerLayout from handling touches in content area -


normally when pressing on content area of drawerlayout, drawer close , touch consumed. there way prevent , pass touch event on content area?

thanks!

i ended modifing drawerlayout.

in method onintercepttouchevent(motionevent ev) you'll have prevent interceptfortap being set true. 1 way remove following conditional.

if (mscrimopacity > 0 &&     iscontentview(mleftdragger.findtopchildunder((int) x, (int) y))) {     interceptfortap = true; } 

that allow touches "fall through".

to have drawer not close can set drawer lock mode lock_mode_locked_open.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -