次のコードで、dispatchTouchEvent を使用してスワイプ ジェスチャを作成します。
@Override
public boolean dispatchTouchEvent(MotionEvent ev) {
// TODO Auto-generated method stub
boolean result = super.dispatchTouchEvent(ev);
// disable the gesture in this screen because we have
return gDetector.onTouchEvent(ev);
}
SignatureView を使用して、 https://github.com/CoatedMoose/CustomViews/blob/master/library/src/com/coatedmoose/customviews/SignatureView.javaを使用して顧客の署名をキャプチャし たいので、ユーザーが SignatureView をクリックすると、どうすればそれを行うことができますか?