Add pinch-in and pinch-out function to Android ImageVIew.
Example Code
Very similar ImageView
Setting Layout XML
<com.matabii.dev.scaleimageview.ScaleImageView
android:id="@+id/image"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:src="https://github.com/matabii/scale-imageview-android/raw/master/@drawable/sample" />
or edit java source
ScaleImageView image = (ScaleImageView) findViewById(R.id.image);
Bitmap bitmap = BitmapFactory.decodeStream(is);
image.setImageBitmap(bitmap);
====== Download the sample application
http://code.google.com/p/scale-imageview-android/downloads/detail?name=ScaleImageView.apk