Allowing rectangle to be clickable - android
<p>I wrote a View with canvas, which contains many rectangles. I want these rectangles to be used as a button which will open a new activity. How can I do it?</p>
