I've used the viewflipper along with some of the slide animations to
change a view.  I also used a gesture detector to capture the swipe
input.  The problem with doing it this way is that the gesture is only
an initiator - ie. it wont do any movement of your view until the full
gesture is detected.  See this tutorial for a little help ..
http://www.codeshogun.com/blog/2009/04/16/how-to-implement-swipe-action-in-android/

In the comments it also talks about having a swipe that does something
as your finger moves, however this is beyond me :)


D



On Nov 25, 8:12 pm, Mark Murphy <[email protected]> wrote:
> On Thu, Nov 25, 2010 at 3:08 PM, timecatcher3 <[email protected]> wrote:
> > I want to use the ViewFlipper or ViewSwitcher with animation but want
> > to control the sliding like the sliding drawer button does for the
> > Android App Menu?
>
> Neither ViewFlipper nor ViewSwitcher are designed for that scenario.
> At most, they animate the old content off the screen, then animate the
> new content onto the screen.
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> Android App Developer Books:http://commonsware.com/books

-- 
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

Reply via email to