I have a class that extends Overlay and implemments Overlay.Snappable. I have overriden its draw method:
@Override
public void draw(Canvas c
A few things. You should use p.moveTo(from.x, from.y); only once i.e., first time when you want to do it for the first time.
Try this to set attributes for the paint object used for painting the polygon.
polygonPaint = new Paint();
polygonPaint.setStrokeWidth(2);
polygonPaint.setStyle(Paint.Style.STROKE);
polygonPaint.setAntiAlias(true);
Hope this helps.