imablanco / Zoomy

Zoomy is an easy to use pinch-to-zoom Android library
918 stars 120 forks source link

Screen is moving while starting to zoom in devices with notch #18

Open MSalihBalkan opened 5 years ago

MSalihBalkan commented 5 years ago

Steps to reproduce:

  1. Get a device with notch.
  2. Open an app with Zoomy ImageView.
  3. Try to zoom. Result: Zooms successfully but screen is moving down as much as the height of the notch. Expected: Should zoom the ImageView smoothly without any screen movement.
Heaveninfo commented 5 years ago

just add .enableImmersiveMode(false) in your builder

imablanco commented 5 years ago

Not tested yet against devices with notch. Will do as soon as I can. Meanwhile please use @Heaveninfo advice.

faisalvv commented 4 years ago

Remove this code from ZoomableTouchListener.java class if (mConfig.isImmersiveModeEnabled()) hideSystemUI();