0

I have a code with a ImageViewTouch image that have pinch zoom, but i cant implement it on the gallery, i tried everything like setting in the ImageAdapter, it works but the Gallery wont scroll.

I think that another solution will be using a ImageSwitcher.

I ask if somebody have a code of a Gallery Implementing a ImageView extension with scroll enabled, or a ImageSwitcher with the Gallery scroll (No Animations).

1 Answer 1

0

The only thing I've found that works is to set an OnTouchListener on the Gallery itself, and then manually map the coordinates of the touch event to the underlying view with getLocationOnScreen.

2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.