Questions tagged [pinch]
237 questions
6
votes
2 answers
How to keep an image inside the screen limits while using pinch zoom and drag gestures?
I'm building an app that uses the pinch zoom and drag. The problem is that for now I can drag the picture out of it bounds. I wanted to know how can I use drag and make sure the image stays on the screen at the same time.
Here is my code :
public…

user958880
- 487
- 1
- 7
- 18
6
votes
3 answers
Limit maximum scale for scaling image with pinch gesture in IOS
I am currently able to make an image scale by using the pinch gesture recognizer provided by Apple, but how can I limit the maximum scale for the image?
I have been using the SimpleGestureRecognizers sample from Apple, which sets the scale to 1,…

Sola
- 1,512
- 4
- 15
- 31
6
votes
1 answer
Disable chrome pinch zoom with javascript
Is there a way to disable chrome pinch zoom with javascript.
I don't want to change anything in chrome://flags
I want to disable chrome's default zooming and sliding to previous page behaviors and instead I want to write my own panning/zooming…

kmkrtich
- 71
- 1
- 4
6
votes
2 answers
jQuery UI resizable pinch
Is it possible to add touch pinch support to jQuery UI's resizable? So on an iPad, you wouldn't need to use the specified handles to resize, but you could just use two fingers and pinch on the element to resize.

Nate Higgins
- 2,104
- 16
- 21
6
votes
1 answer
Android GridView pinch zoom
I'm trying to implement the pinch gesture to zoom in/ zoom out of a GridView in Android.
I've been searching the web for a while now and I've found multiple answers but it comes down to creating a custom GridView and set a gesturelistener to this…

Robin.v
- 719
- 3
- 8
- 16
5
votes
1 answer
Android webview pinch zoom Problem
Hi guyz im able to pinch zoom the image in webview its working properly. Zoom in is working fine but problem is zoom out. Image goes small and small. How can i limit zoom out to the size of the image?

GTID
- 538
- 2
- 6
- 19
5
votes
1 answer
Android webview pinch zoom local image
Hey I'm trying to get pinch to zoom working on a Webview of my app but cant, it just displays the image really zoomed in (probably displaying it 100%)
here is how i got the webview to work.
In the activity I added
WebView mWebView = (WebView)…

Tim Hannah
- 172
- 2
- 4
- 13
5
votes
1 answer
UIPinchGestureRecognizer Scale view in different x and y directions
i don't want to use the scale as classic zoom, instead i want to change the form of quadrates to a rectangle for example.
After a lot of trying i'm that far that my fingers are the corners of the rectangle.
So but if i start a new pinch gesture…

Seega
- 3,001
- 2
- 34
- 48
5
votes
0 answers
PinchGesture Zoom like Instagram mobile feed screen in Xamarin Form
I am trying to implement similar zoom functionality like Instagram mobile app feed screen in xamarin cross-platform app.
Actually I want to add pinch gesture on ImageView inside ListView cell, if user pinch on image, it should zoom-in over ListView.…

Jyoti prakash
- 1,047
- 9
- 8
5
votes
1 answer
Pinch zoom in android 2.1
Is there a way we can achieve Pinch zoom ability to the imageview?

xydev
- 3,409
- 5
- 34
- 54
5
votes
1 answer
Sprite-Kit Pinch to Zoom Problems UIPinchGestureRecognizer
I've been working on this code for quite a while now but it just feels like one step forward and two steps back. I'm hoping someone can help me.
I'm working with Sprite Kit so I have a Scene file that manages the rendering, UI and touch controls. …

bazola
- 270
- 5
- 16
5
votes
1 answer
Osmdroid and Pinch
I'm developing an app using osmdroid (3.0.8).
When I zoom using two fingers in and out, the zoom starts from the center of the map, not from the middle of the two fingers (using MapView.setMultiTouchControls(true);). I've tried to implement the…

Massimo Variolo
- 4,669
- 6
- 38
- 64
5
votes
0 answers
pinchable grid zoom in android
I am been googleing this and there really is a distinct absence of physical information regarding this task...
I want to make a grid view in android that uses "tiles" that sorts itself and allows gestures.
The gestures I want to implement…

conners
- 1,420
- 4
- 18
- 28
4
votes
2 answers
how to make pinch/zoom work on an image
I am still learning the tricks to jQuery mobile and have been having a problem with the zooming in and zooming out of a picture/image on a data-role="page." Is there a way to make the pinch/zoom work on an image on the iPhone using jquery mobile? …

newbieman
- 65
- 1
- 2
- 6
4
votes
0 answers
How to programmatically trigger and create a pinch event in chrome?
I want to create a pinch to zoom gesture by code. I need to fire it from code as it would came from a end user.
Any ideas?

TatzyXY
- 505
- 1
- 6
- 13