googlevr / gvr-android-sdk

Google VR SDK for Android
http://developers.google.com/vr/android/
Other
3.28k stars 1.28k forks source link

How to disable multi-touch when interacting with the image. #613

Closed ln206 closed 5 years ago

ln206 commented 5 years ago

Hello everyone,

How do I disable multi-touch when interacting with the image? I've tried to use vrPanoramaView.setMotionEventSplittingEnabled(false);, but I still have problem with multi-touch.

Reproduce steps:

  1. touch and interact with the 360 image with right finger.
  2. touch and interact with the 360 image with left finger.
  3. stop touching the 360 image with finger while left finger is still touching.

After these steps, it just jumps to another position in the image.

sigmaxipi commented 5 years ago

The VrPanoramaView widgets have been deprecated. You should switch over to the code in the video360 sample which allows more customization. See #510 for more info.