Questions tagged [pinchzoom]

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

726 questions
10
votes
1 answer

How to enable Editor pinch to zoom in Android Studio?

As a Mac user, you can pinch to zoom the editor in Android Studio because is based on IntelliJ. But I can't do that anymore in the latest Android Studio version (4.1) I've already tried: checked Change font size with Command + Mouse Wheel in Editor…
Harvey
  • 1,353
  • 1
  • 14
  • 27
10
votes
4 answers

Disable pinch zoom on IOS 13 safari

I know this question has been asked so much. But have there been any updates on being able to disable pinch zoom on the latest version of safari? I have a map application that implements pinch to zoom on specific elements of the webpage (the map). I…
Fish
  • 303
  • 4
  • 10
10
votes
2 answers

Android SDK - Not Scaling at Centre of Touch

I have a little problem with my app. I have just implemented pinch zoom, but when I pinch to zoom, the image does not scale at the centre of the 2 points as displayed in the images below. Image 1 is where my fingers are before pinching and image 2…
JazzyP
  • 940
  • 10
  • 18
9
votes
1 answer

How to fix pinch zoom focal point in a custom view?

For my question I have prepared a very simple test app at Github. For simplicity I have removed flinging, scroll constraints and edge effects (which actually work well in my real app): So the custom view in my test app only supports…
Alexander Farber
  • 21,519
  • 75
  • 241
  • 416
9
votes
2 answers

How to detect single finger touch and two finger touch in android?

I am creating an android app where I am zooming an ImageView [pinch zoom(with image translation)] and also I have to rotate the ImageView with two finger movement only. Because I want to translate the Image [scroll] through single finger movement.…
User
  • 692
  • 2
  • 11
  • 29
8
votes
4 answers

How to use detectTransformGestures but not consuming all pointer event

I was making a fullscreen photo viewer which contain a pager (used HorizontalPager) and each page, user can zoom in/out and pan the image, but still able to swipe through pages. My idea is swiping page will occurs when the image is not zoomed in…
Tran Hoai Nam
  • 1,273
  • 2
  • 18
  • 35
8
votes
2 answers

How to draw lines on an ImageView using canvas which are unaffected by zooming or scaling?

I am drawing lines on an ImageView by doing something like this: Bitmap imageBitmap = ((BitmapDrawable) imageView.getDrawable()).getBitmap(); Bitmap duplicateBitmap =…
Shreemaan Abhishek
  • 1,134
  • 1
  • 7
  • 33
8
votes
0 answers

Pinch to zoom for entire UICollectionView

I want my entire UICollectionView zoomable including all the items in it. I tried the delegate method func viewForZooming(in scrollView: UIScrollView) -> UIView? as UICollectionView falls under UIScrollView hierarchy. Unfortunately, this method…
8
votes
1 answer

Android swipe card with pinch to zoom imageview using SwipeFlingAdapterView library

I am implementing swipe card with pinch to zoom functionality using this library and when I use only image view then it working fine means swipe work properly but I want swipe functionality like library as well as pinch to zoom so I added…
Mohd Sakib Syed
  • 1,679
  • 1
  • 25
  • 42
8
votes
2 answers

Google Chrome maximum zoom level?

Is there any way to change maximum zoom level in Google Chrome? Sometimes I need to view the details of images, especially SVG, but Chrome's zoom maximum is 500%. Additionally, I'd like to increase the limit for the zoom gesture on touchpad, because…
Robo Robok
  • 21,132
  • 17
  • 68
  • 126
8
votes
3 answers

Use ScaleGestureDetector with GestureDetector?

In my Android app I have an ImageView where I'd like the user to be able to fling it left/right/up/down to change the image (static maps) to the adjacent one. But in addition, I'd like pinch-zoom abilities and a map itself. I can get either flinging…
mraviator
  • 4,034
  • 9
  • 38
  • 51
8
votes
2 answers

Android Pinch to Zoom ImageView

I have a single Image ImageView Layout . import android.app.Activity; import android.os.Bundle; public class americanfootball extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { …
sidhant
  • 181
  • 1
  • 1
  • 3
8
votes
1 answer

implementing pinch Zoom using ViewPager

I am using ViewPager to retrieve images from remote server. Everything is working well, but the problem is I don't know how to implement pinch Zoom in/out function to it. My code is below public class ImagePagerActivity extends BaseActivity { …
Kuwame Brown
  • 533
  • 1
  • 10
  • 22
8
votes
4 answers

JQuery Mobile Pinch Zoom Image Only

I have a working JQM application that I'd like to display some images in. The images currently are in their own iframe so they can be scrolled separately from the app. I'd like to be able to pinch zoom only the images within the iframe as well. …
Halsafar
  • 2,540
  • 4
  • 29
  • 52
7
votes
1 answer

Catch pinch-zoom in browser

I have a web application that is basically a canvas you can draw on. I'm handling the drawing - either by mouse or by single finger touch - and it's working well. The canvas is larger than the screen, and I need to implement my own zooming mechanism…
zmbq
  • 38,013
  • 14
  • 101
  • 171
1 2
3
48 49