Gesture which allows the user to zoom in by moving two fingers closer together while touching the display.
Questions tagged [pinchzoom]
726 questions
19
votes
5 answers
How to handle stickers with resize and rotate functionality?
I am currently developing an application which will allow user to add stickers (hat, hairs, spectacles etc) on image. User can resize that sticker or can rotate that and move also. See image.
I have stickers, but how can I put them on original…

Chintan Rathod
- 25,864
- 13
- 83
- 93
17
votes
2 answers
Android Gallery with pinch zoom
I found a sample project of gallery with pinch zoom and made some bug fix. You can download my code at here
It supports full screen only. It always center the image to screen height. But I want to put a header view to the top of the screen and make…

mobile app Beginner
- 1,651
- 3
- 26
- 40
15
votes
6 answers
Pinch To Zoom Effect on UIImageView inside scrollView?
I'm using storyboard (iOS 6.0) to create a photo gallery viewer for my app. This is how my imageViewController is set up in storyboard:
I've made sure to enable userInteraction and multiple touches on both the imageView and scrollView. What I want…

KingPolygon
- 4,753
- 7
- 43
- 72
14
votes
3 answers
pinch zoom doesn't zoom out on move to next fragment page
I had done pinch zoom with this polidea Zoomview.I have implemented this pinch zoom code in fragment page.
ZoomView zoomView;
//inside onCreateView method
zoomView= new ZoomView(getActivity());
zoomView.setLayoutParams(new…

Stephen
- 9,899
- 16
- 90
- 137
14
votes
4 answers
Scale at pivot point in an already scaled node
I'm trying to create an application with a zoomable/pannable canvas.
Features:
zoom in/out with mouse wheel at pivot points
drag nodes around on the canvas with left mouse button
drag the entire canvas with right mouse button
The zooming at the…

Roland
- 18,114
- 12
- 62
- 93
13
votes
2 answers
Pinch zoom on SurfaceView
I'm trying to implement pinch zoom on a SurfaceView. I've done a lot of research regarding this and I found this class to implement pinch zoom. Here is how I modified it:
public class ZoomLayout extends FrameLayout implements…

ClassA
- 2,480
- 1
- 26
- 57
13
votes
2 answers
How to enable zoom for UICollectionView
I am confused. I have a UICollectionView. I have my own UICollectionViewLayout subclass (iow, I am not using the Flow thing). UICollectionView instance is a subclass of UIScrollView. It adds multiple subviews. But questions like Properly zooming a…

Travis Griggs
- 21,522
- 19
- 91
- 167
12
votes
2 answers
What javascript framework is google images using for pinch zoom?
Google has now implemented a very unique pinch zoom for their images. The viewport meta tag does not allow user scaling or zooming, and as you would expect the resulting content is not pinch-zoomable on a mobile touch device. The image, however, is…

wayofthefuture
- 8,339
- 7
- 36
- 53
12
votes
1 answer
Android ImageView Zoom with text overlay
I want to overlay textview on imageview on android which I have done programatically. I also want that image should be able to zoom in and zoom out which also I am able to done. But I am stuck in a problem of placing text on image in such a way that…

user1205088
- 229
- 2
- 11
12
votes
5 answers
ViewPager & ImageView zooming issue
I am trying to implement a Gallery of images using ViewPager. Also, to implement zoom feature in that, I am using TouchImageView from github. I have also tried using ZoomableImageView.
But, the problem is, if I zoom the image & if I scroll the image…

Bharath
- 3,001
- 6
- 32
- 65
12
votes
3 answers
Scale of UIPinchGestureRecognizer in horizontal and vertical directions separately
When using UIPinchGestureRecognizer what is the best way to detect/read the pinch scale in horizontal and vertical directions individually? I saw this post
UIPinchGestureRecognizer Scale view in different x and y directions
but I noticed there were…

Dogahe
- 1,380
- 2
- 20
- 50
11
votes
3 answers
How to zoom list item from center of pinch
I am working on a simple book reader app for Android. I have used the listview for this.
What I am doing is loading the remote images from server into my Listview (Using the picasso library) and is working fine.
I also wanted to zoom functionality…

Qadir Hussain
- 8,721
- 13
- 89
- 124
11
votes
8 answers
Change the size of ImageView on zooming
I am using chrisbanes PhotoView to implement pinch zoom..Image zooms on pinching and double tapping but i can't see that my image streched to full screen on zooming..on zooming it looks that image zooms inside a box and part of image disappears on…

Android Developer
- 9,157
- 18
- 82
- 139
11
votes
4 answers
SKNode scale from the touched point
I have added UIPinchGestureRecognizer to my scene.view to scale my content. I actually scale the parent node where all my visible contents reside. But I have problem though with scaling point. The thing is node scale from the lower-left corner.…

Mikayil Abdullayev
- 12,117
- 26
- 122
- 206
11
votes
2 answers
Android pinch zoom large image, memory efficient without losing detail
My app has to display a number of high resolution images (about 1900*2200 px), support pinch zoom. To avoid Out of memory error I plan to decode image to show full screen by using
options.inSampleSize = scale (scale was calculated as Power of 2 as…

Kiradev
- 347
- 2
- 17