Back to project page GuiLib.
The source code is released under:
Apache License
If you think the Android project GuiLib listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.gandulf.guilib.view; //from w ww .j a va 2s . co m import android.content.Context; import android.support.v4.widget.DrawerLayout; import android.util.AttributeSet; import android.view.MotionEvent; public class HackeyDrawerLayout extends DrawerLayout { public HackeyDrawerLayout(Context context) { super(context); } public HackeyDrawerLayout(Context context, AttributeSet attrs) { super(context, attrs); } public HackeyDrawerLayout(Context context, AttributeSet attrs, int defStyle) { super(context, attrs, defStyle); } @Override public boolean onInterceptTouchEvent(MotionEvent ev) { try { return super.onInterceptTouchEvent(ev); } catch (Throwable t) { t.printStackTrace(); return false; } } }