created a custom View as PaintView