如题。只响应这三个,其他三个不响应。而且轻轻一点就是这三个。

解决方案 »

  1.   

    我把主要代码贴出来,大家帮忙看看撒。public class GameView extends surfaceView implements OnGestureListener,OnTouchListener{private GestureDetector mGestureDetector;        mGestureDetector=new GestureDetector(this);
    this.setLongClickable(true);  
            this.setOnTouchListener(this);// 将本类绑定触屏监听器  
            mGestureDetector.setIsLongpressEnabled(true);         public boolean onTouchEvent(MotionEvent event) {
                if(event.getAction()==MotionEvent.ACTION_UP){
                    ....
                }else{
                   if(...){
                         mGestureDetector.onTouchEvent(event);
                   }
                }
           }
           
           后面是六个函数。
    }