android - Get Non-Transparent Area of Drawable -
i wonder there way know non-transparent area of drawable image? example, have image:

what want detect when people touch transparent area nothing , when people touch non-transparent area (which start button) something.
thanks help.
just check pixel value of touch position, if transparent nothing.
how color @ spot(or pixel) of image on touch event in android
Comments
Post a Comment