Problem
Create an activity that allows the user to draw continuous horizontal or vertical lines, starting from a given position, using the up, down, left, and right keys of the Android keypad as well as image buttons (blue, red and green color squares) in the UI , as shown below in the picture.(Instead of using android keypad, you may use the finger to draw lines on the canvas using touch events). Use a Canvas object to implement the drawings. Allow the user to choose the thickness of the lines and colors. Allow the user to clear the drawings and restart.