Questions tagged [pinchzoom]

Gesture which allows the user to zoom in by moving two fingers closer together while touching the display.

679 questions
74
votes
14 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,531
  • 3
  • 16
  • 32
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,171
  • 15
  • 48
  • 99
41
votes
9 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,147
  • 5
  • 33
  • 50
36
votes
4 answers

Pinch to zoom using Hammer.js

I am trying to implement pinch to zoom using hammer.js Here's my HTML-
nickalchemist
  • 1,941
  • 4
  • 25
  • 55
33
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
  • 747
  • 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…
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
  • 4,247
  • 2
  • 17
  • 43
24
votes
10 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
  • 361
  • 1
  • 3
  • 9
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,354
  • 3
  • 18
  • 51
22
votes
4 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
  • 390
  • 2
  • 12
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…
21
votes
6 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,016
  • 3
  • 19
  • 31
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
  • 24,674
  • 13
  • 76
  • 92
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,531
  • 3
  • 24
  • 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,603
  • 7
  • 40
  • 66
1
2 3
45 46