Baseflow / PhotoView

Implementation of ImageView for Android that supports zooming, by various touch gestures.
https://baseflow.com
Apache License 2.0
18.78k stars 3.92k forks source link

PhotoView detect touch outside it's view #712

Open arsalankhan994 opened 5 years ago

arsalankhan994 commented 5 years ago

I am using photoview inside my dialogfragment, which have relative layout as it's parents and photoview as it's child. But when I touch my finger on photoview and move up ( outside photoview bound ) and move left or right, image also move accordingly. I think that should not be happen.

Peterragheb commented 5 years ago

I'm not sure I understand what you are asking. But if you would like to detect taps outside of the image use this method .setOnOutsidePhotoTapListener()