not able to pinch zoom on emulator

前端 未结 14 1482
生来不讨喜
生来不讨喜 2021-01-31 13:34

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 emul

相关标签:
14条回答
  • 2021-01-31 13:56

    For mac: Use the ⌥ Option key and then use your mouse or trackpad to pinch/zoom. This is working on the android studio emulator.

    You can find all the shortcuts in the extended controls menu, by pressing the three dots on the menu and then navigating to "help".

    0 讨论(0)
  • 2021-01-31 13:56

    An Android Emulator doesn't support multi-touch you can't test it on emulators. Please use real-device for multitouch testing.

    For recent developments in this regard read this - http://tools.android.com/tips/hardware-emulation

    0 讨论(0)
  • 2021-01-31 14:03
    1. Click 3 points (like preferences on emulator)
    2. Settings
    3. set param "Send keyboard shortcuts to" from "Virtual device" to "Emulator controls" now gestures work perfect!
    0 讨论(0)
  • 2021-01-31 14:06

    There has been some progress in this field with android tools release 17 : you can use a device to control the emulator : http://developer.android.com/sdk/tools-notes.html.

    Otherwise, it looks like testing on real device is just better for this case (and in general its also much faster).

    0 讨论(0)
  • 2021-01-31 14:07

    You can not able to test pinch zoom in Emulator. Please use Real device to test pinch zoom effect.

    I have not try with youwave. May be you can able to test pinch in that environment. Not sur but just try with it.

    Enjoy Coding....

    0 讨论(0)
  • 2021-01-31 14:08

    With a mouse:

    Press and hold Ctrl and press and hold left mouse and while doing that move your mouse.

    With a trackpad:

    Press and hold Ctrl and press and hold your trackpad and move with a finger to the LEFT and RIGHT (not up and down).

    0 讨论(0)
提交回复
热议问题