I used this code: In onCreate:
imageView.setOnTouchListener((OnTouchListener) this);
And onTouch:
case MotionEvent.ACTION_MOVE:
canvas.drawLine(oldX, oldY, event.getX(), event.getY(), paint);
imageView.invalidate();
If layout only contain one imageView, draw very smooth. But I add 2 3 or more than the view (button, image background), action_Move get event slowly and draw not smooth. Please help me!