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
Post a Comment