Android: How can I get the transparent region in an image
<p>How can I get the transparent region in an image in android?</p>

<p>My problem is that I have images with transparent areas and I need to let the user click on regions and handle the click event only when they clicked on the actual colored regions of the image. How can I do this in android?</p>

<p>I saw that Drawable Has a getTrasnsparentRegion method but the default implementation returns null. So I need to overwrite it and put this implementation there.</p>

<p>Thank you,</p>
