Back to project page ExampleApp.
The source code is released under:
Copyright (c) 2014, Altinn All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redis...
If you think the Android project ExampleApp 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 net.simonvt.menudrawer; //from w w w . j a v a2s .com import android.content.Context; import android.util.AttributeSet; import android.view.MotionEvent; /** * FrameLayout which doesn't let touch events propagate to views positioned behind it in the view hierarchy. */ class NoClickThroughFrameLayout extends BuildLayerFrameLayout { public NoClickThroughFrameLayout(Context context) { super(context); } public NoClickThroughFrameLayout(Context context, AttributeSet attrs) { super(context, attrs); } public NoClickThroughFrameLayout(Context context, AttributeSet attrs, int defStyle) { super(context, attrs, defStyle); } @Override public boolean onTouchEvent(MotionEvent event) { return true; } }