ImageView imageView = ((ImageView)view); final Bitmap bitmap = ((BitmapDrawable)imageView.getDrawable()).getBitmap(); int px=(int)motionEvent.getX(); int py=(int)motionEvent.getY(); int pixel = bitmap.getPixel(px,py); red=Color.red(pixel); green=Color.green(pixel); blue=Color.blue(pixel);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)