In this video, I have demonstrated an application, which has an ImageView and 2 spinners. One spinner contains a drop down list of shapes and other contains a drop down list of gradients.
On selecting items from spinners selected shape with selected gradients is drawn on image view.