| 3 |
efrain |
1 |
package com.cesams.leaderslinked.v2;
|
|
|
2 |
|
|
|
3 |
import android.content.Context;
|
|
|
4 |
import android.util.AttributeSet;
|
|
|
5 |
import android.view.MotionEvent;
|
|
|
6 |
import android.webkit.WebView;
|
|
|
7 |
|
|
|
8 |
public class TouchyWebView extends WebView {
|
|
|
9 |
|
|
|
10 |
public TouchyWebView(Context context) {
|
|
|
11 |
super(context);
|
|
|
12 |
}
|
|
|
13 |
|
|
|
14 |
public TouchyWebView(Context context, AttributeSet attrs) {
|
|
|
15 |
super(context, attrs);
|
|
|
16 |
}
|
|
|
17 |
|
|
|
18 |
public TouchyWebView(Context context, AttributeSet attrs, int defStyle) {
|
|
|
19 |
super(context, attrs, defStyle);
|
|
|
20 |
}
|
|
|
21 |
|
|
|
22 |
@Override
|
|
|
23 |
public boolean onTouchEvent(MotionEvent event){
|
|
|
24 |
// requestDisallowInterceptTouchEvent(true);
|
|
|
25 |
return super.onTouchEvent(event);
|
|
|
26 |
}
|
|
|
27 |
|
|
|
28 |
@Override
|
|
|
29 |
protected void onOverScrolled(int scrollX, int scrollY, boolean clampedX, boolean clampedY) {
|
|
|
30 |
super.onOverScrolled(scrollX, scrollY, clampedX, clampedY);
|
|
|
31 |
}
|
|
|
32 |
|
|
|
33 |
}
|