제목이 맞는 건지 모르겠습니다.

만약 WebView에서 터치이벤트가 발생했을때
그냥 터치를 했는지 아니면 스크롤을 했는지를 캐치해야 합니다.
머리를 아무리 굴려도 아래와 같은 방법밖에는 떠오르지 않더군요.
더 좋은 방법이 있으면 의견 부탁드립니다.

private int toutchX = 0;
private int toutchY = 0;

@Override
public boolean onTouch(View v, MotionEvent event)
{
    if(this.toutchX == 0 && this.toutchY == 0)
    {
        this.toutchX = (int)event.getX();
        this.toutchY = (int)event.getY();
    }

    if(event.getAction() == MotionEvent.ACTION_UP)
    {
        int nowToutchX = (int)event.getX();
        int nowToutchY = (int)event.getY();
            
        if(Math.abs(this.toutchX - nowToutchX) <= 20 && Math.abs(this.toutchY - nowToutchY) <= 20)
        {
            // 터치 이벤트가 발생했습니다.
        }

        this.toutchX = 0;
        this.toutchY = 0;
    }

    return false;
}


profile