I want to draw the lines between points on the view, and then pull those points upto desired positions even the shape will change.
i know how to draw the line betwe
I think you may be looking for the Path class:
The Path class encapsulates compound (multiple contour) geometric paths consisting of straight line segments, quadratic curves, and cubic curves. It can be drawn with canvas.drawPath(path, paint), either filled or stroked (based on the paint's Style), or it can be used for clipping or to draw text on a path.
See this tutorial for examples of canvas.drawPath