Back to project page MarsImagesAndroid.
The source code is released under:
Apache License
If you think the Android project MarsImagesAndroid 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 gov.nasa.jpl.hi.marsimages.ui; // www.j ava 2 s .co m import android.content.Context; import android.support.v4.widget.DrawerLayout; import android.util.AttributeSet; import android.view.MotionEvent; /** * Created by mpowell on 6/10/14. */ public class HackyDrawerLayout extends DrawerLayout { public HackyDrawerLayout(Context context) { super(context); } public HackyDrawerLayout(Context context, AttributeSet attrs) { super(context, attrs); } public HackyDrawerLayout(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; } } }