Hi every one am developing android applicaiton can someone tell me how can i zoom an imageview that was passed to bitmap.
sample Code:
mColor_Img = (ImageView)findViewById(R.id.color_img_id);
Resources res = getResources();
bmp = BitmapFactory.decodeResource(res,R.id.iv).copy(
Bitmap.Config.ARGB_8888, true);
mColor_Img.setImageBitmap(copy_bmp);
mColor_Img.setOnTouchListener(this);
I think below link may help you :
How to use Multi-touch in Android 2: Part 6, Implementing the Pinch Zoom Gesture