SimonVT/android-menudrawer — pull request #20 by niqo01 (2012-10-10 20:09:43+00:00)
Title: Add Custom support for ViewPager

Hello,

I've added two methods to customize the touch behavior:
- setDragBezelFullScreen (Set the touch area to full width)
- setDragBezelEnabled (Enable/disable dragging)

This is useful when using with a ViewPager in the content view and allow to reproduce the Verge app behavior.

How to:
When using the menu with a ViewPager, set setDragBezelFullScreen to true
If the View pager current position is the first page call setDragBezelEnabled to true otherwise set setDragBezelEnabled to false.

Thank you for this awesome library!

Nicolas