In this video, I have developed an application in which there is an ImageView and a spinner with gradients as its items.
On selecting a gradient from spinner that particular gradient isapplied on shape on ImageView.
I have applied gradient programmatically.