android - Get Non-Transparent Area of Drawable -


i wonder there way know non-transparent area of drawable image? example, have image:

enter image description here

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

check if pixel transparent or not - android


Comments

Popular posts from this blog

apache - PHP Soap issue while content length is larger -

asynchronous - Python asyncio task got bad yield -

javascript - Complete OpenIDConnect auth when requesting via Ajax -