Hand drawing in android canvas with eraser.
Demo : https://play.google.com/store/apps/details?id=com.swap.handdrawing
DrawingView is extended from View & used to create a path on canvas based on movement of users finger.
Path & paint object is stored are maintained in a ArrayList. Eraser is achieved by changing paint object color property to white.
Different colors of lines can be achieved by changing paint object color property.
User can draw on image selected from camera or gallery.
Drawing can be shared on social media.