Hello,

I want to disable the bouncing effect that you get when you swipe in a
gallery. It’s explained here:
http://stackoverflow.com/questions/4298060/android-disable-bounce-effect-in-custom-gallery;
I tried these solutions, but non of them work completely, the image
still goes a bit to far, to come back and fix his location. (It’s
faster, but that’s not what I won’t, the bounce should be completely
gone!).

Kind regards

EDIT: After a bit of testing, if found that this is the problem: When
you swipe the image from left to right (or vice versa), it will jump
to the border when you got at the middle of the screen. So the new
image is already completely in the view when you swiped the previous
image just across the middle of the screen. Because you keep on
sliding, the new image will also be slided a bit beyond the border of
the screen. If you let it go after that, the image will center itself
in the screen, that's why it looks like a bouncing effect.

The weird thing is that I only have this when I called
"Gallery.setOnItemSelectedListener(...)"! If I don't call that
function, the image doesn't jump to the border, so the bouncing effect
won't appear...

I hope you can understand it, because it's very hard to explain!

Kind regards

-- 
You received this message because you are subscribed to the Google Groups 
"Android Discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/android-discuss?hl=en.

Reply via email to