I need to implement a pinch zoom and pan to execute for same imageView. How can i to do this?
Asked
Active
Viewed 439 times
-6
-
most likely the better idea is to draw a Bitmap by yourself since you have the full control of drawing – pskink Jul 28 '14 at 12:41
-
You can see below http://www.tutorialspoint.com/android/android_gestures.htm Or http://stackoverflow.com/questions/5375817/android-pinch-zoom – Stanley Ko Jul 28 '14 at 12:42
-
the answer is below, i don't need more down-votes. – Igor Ronner Jul 28 '14 at 13:40
1 Answers
2
You below lib :-
https://github.com/chrisbanes/PhotoView
XML
<uk.co.senab.photoview.PhotoView
android:id="@+id/iv_photo"
android:layout_width="fill_parent"
android:layout_height="fill_parent" />
JAVA
ImageView mImageView = (ImageView) findViewById(R.id.iv_photo);
hope above lib will helps you.

duggu
- 37,851
- 12
- 116
- 113