http://www.codeshogun.com/blog/2009/04/16/how-to-implement-swipe-action-in-android/

theres a builtin widget called viewflipper.. could be usefull a lot.


On Dec 7 2010, 4:42 am, Arjun <arjunf...@gmail.com> wrote:
> Greetings,
>
> I have a linear layout inside a horizontal scroll view.  linear layout
> has n number of images.
>
> I am facing problem with horizontal scrolling, As soon as the user
> flings, depending upon the velocity the scroll view scrolls. But my
> requirement differs with the default horizontal scroll view
> scrolling.  My requirement is "whatever may be the fling velocity"
> user has to be shown the next three images depending upon the fling
> direction
>
> Hence I have extended Horizontal scroll view and override fling, such
> that I can scroll to the next three images, by specifying the number
> of pixels it should move horizontally using scrollTo(px,px);
>
> The above operation is not giving the expected behavior. Any thoughts
> on this would be really helpful.
>
> Thanks,
> Arjun.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to