If you want to disable "flinging" you can subclass Gallery and do
something like:
public boolean onFling(MotionEvent e1, MotionEvent e2, float
velocityX, float velocityY) {
// Consume and ignore.
return true;
}
We also tried to do what you are describing and had problems getting
the scrolling in Gallery to perform well. You may be interested to
check this out: http://code.google.com/p/deezapps-widgets/
Hope this helps!
Jean-Guy
On Sep 17, 2:23 am, mahesh patil <[email protected]> wrote:
> Hi,
> I am working on a application, in which I want to show Image gallery
> containing full screen images.
> I have put the gallery in the application successfully.
> But I am failing to apply some properties to the gallery as per the
> app design demands.
> I am using android.widget.Gallery library of android.
>
> The things I am failing to do are:
> 1) I wanna scroll the gallery images one at a time, as now its getting
> scrolled more than one images in one scroll.
> 2) And on scrolling the gallery, the images coming next from left/
> right should move smothly into the screen and should stop at the
> screen edges. It should not scroll beyong that in one scroll.
>
> I will appritiate any help in finding the way out from you guys.
>
> Thanks in advance.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" 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-developers?hl=en