Gesture which allows the user to zoom in by moving two fingers closer together while touching the display.
Questions tagged [pinchzoom]
726 questions
156
votes
9 answers
How to pinch out in iOS simulator when map view is only a portion of the screen?
I have a view on the iPad that I'm adding an MKMapView to that is say half the height of the full screen. However, when I try to pinch out on the iOS Simulator it doesn't work since the to nubs fill the entire iPad view on the simulator.
And so,…

Christopher
- 5,806
- 7
- 31
- 41
137
votes
23 answers
Android ImageView Zoom-in and Zoom-Out
I want to Zoom-in and Zoom-out an Android ImageView. I tried most of the samples but in all of them the image in the ImageView itself is getting Zoomed-in and Zoomed-out, while I want to Zoom-in and Zoom-out the ImageView. I want to increase the…

karthi
- 1,383
- 2
- 10
- 5
101
votes
15 answers
How to pinch zoom on Android emulator?
I have an application in which I need to implement image editing, which also includes pinch zooming. I am done with pinch zooming but I can test this only on device, not on emulator.
Is there any way for testing pinch zooming in android emulator,…

vipin
- 2,851
- 4
- 18
- 32
74
votes
17 answers
Isn't there an easy way to pinch to zoom in an image in SwiftUI?
I want to be able to resize and move an image in SwiftUI (like if it were a map) with pinch to zoom and drag it around.
With UIKit I embedded the image into a UIScrollView and it took care of it, but I don't know how to do it in SwiftUI.
I tried…

Zheoni
- 881
- 1
- 7
- 11
56
votes
11 answers
Is there any way to test multi-touch on the Android Emulator?
Can multi-touch events be tested on the Android Emulator? Or is there any way to test this without an actual device? I am using the 2.0 sdk and want to test zoom-in/zoom-out with two fingers.

Pritam
- 2,367
- 5
- 34
- 50
49
votes
7 answers
android pinch zoom
My layout contains buttons, textviews, etc. Is it possible to implement pinch zoom in my layout?

Bytecode
- 6,551
- 16
- 54
- 101
41
votes
5 answers
Pinch to zoom using Hammer.js
I am trying to implement pinch to zoom using hammer.js
Here's my HTML-

nickalchemist
- 2,211
- 6
- 31
- 58
35
votes
6 answers
Can we use scale gesture detector for pinch zoom in Android?
Can we use scale gesture detector for pinch zoom in Android?

user562237
- 775
- 5
- 15
- 24
32
votes
1 answer
Adding pinch zoom to a UICollectionView
Intro
I'm going to describe the effect I want to achieve, and then I'll give detail on how I'm currently trying to implement this and what's wrong with its behaviour as it stands. I'll also mention another approach I've looked at but couldn't make…

Benjohn
- 13,228
- 9
- 65
- 127
31
votes
5 answers
Disable pinch zoom in MPAndroidChart library
I want to disable pinch zoom at barchart in MPAndroidChart library how i can do that.
library.barchart.setpinzoomenable(false);
also not working.

Hari
- 490
- 1
- 4
- 12
31
votes
2 answers
EditText scale with selection
I have an EditText I want to zoom it, and scroll with setScaleX/setScaleY and it works fine - text is being edited in the right position.
But when I try to select text - it draws selection handles to positions like when text is not scaled. It is…

Yevgen Kulik
- 5,713
- 2
- 22
- 44
24
votes
6 answers
mpandroidchart - How can I avoid the repeated values in Y-Axis?
I want to avoid the repeated values and the -0 values in Y-Axis, avoiding the image situation.
I have these ideas to solve this, but any solution:
Limit the zoom before having repeated values in YAxis, therefore stop the infinite zoom-in on the…

rafaelasguerra
- 2,685
- 5
- 24
- 56
24
votes
7 answers
View Pager + ImageView +Pinch Zoom + Rotation
I want to implement Pinch Zoom on Imageview, with in View Pager similar to Default Android Gallery. I have found multiple source over GitHub, But the zoom and sliding just work for only first image.
What I have tried:
1.) TouchImageView
2.)…

Avtar Guleria
- 2,126
- 3
- 21
- 33
22
votes
4 answers
Flutter GestureDetector: How to pinch in/out or zoom in/out Text using two fingers?
I'm creating a text field like Text or RichText. And after that, I want to zoom in/out the size of text using pinching. For now, I tried implementing GestureDetector but it zooms in/out with one finger too. And it is really hard to aim pinching…

mkubasz
- 495
- 2
- 7
- 16
22
votes
1 answer
Implementing pinch zoom and drag using Android's build in gesture listener and scale listener
I am trying to implement pinch zoom and drag using Android's gesture listener and scale listener. The problem is that when I perform pinch zoom, the image (which I am trying to zoom) bounces to a particular location. Also the zoom position is not…

chochim
- 1,710
- 5
- 17
- 30