|
|
@ -21,18 +21,18 @@ import android.content.Context; |
|
|
|
import android.support.annotation.NonNull; |
|
|
|
import android.support.annotation.NonNull; |
|
|
|
import android.util.AttributeSet; |
|
|
|
import android.util.AttributeSet; |
|
|
|
import android.view.MotionEvent; |
|
|
|
import android.view.MotionEvent; |
|
|
|
import android.widget.FrameLayout; |
|
|
|
import android.widget.LinearLayout; |
|
|
|
|
|
|
|
|
|
|
|
public class TouchBlockingFrameLayout extends FrameLayout { |
|
|
|
public class TouchBlockingLinearLayout extends LinearLayout { |
|
|
|
public TouchBlockingFrameLayout(Context context) { |
|
|
|
public TouchBlockingLinearLayout(Context context) { |
|
|
|
super(context); |
|
|
|
super(context); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public TouchBlockingFrameLayout(Context context, AttributeSet attrs) { |
|
|
|
public TouchBlockingLinearLayout(Context context, AttributeSet attrs) { |
|
|
|
super(context, attrs); |
|
|
|
super(context, attrs); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public TouchBlockingFrameLayout(Context context, AttributeSet attrs, int defStyleAttr) { |
|
|
|
public TouchBlockingLinearLayout(Context context, AttributeSet attrs, int defStyleAttr) { |
|
|
|
super(context, attrs, defStyleAttr); |
|
|
|
super(context, attrs, defStyleAttr); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|