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).
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
.
精彩评论