To get touched pixel color of an
ImageView, you should implement
OnTouchListener
of the
ImageView, get touched position by calling
event.getX()
and
event.getY()
, and get the pixel color by calling
bitmap.getPixel(x, y)
.
Follow this code example:
Get touched pixel color of ImageView[
^]