I would assume this is done by having the Views you'd like the user to be able to switch between with a fling of the finger all contained within one Activity and in that Activity you can listen for MotionEvents on the currently displaying View. When you detect the event you're looking for (a swipe, in this case.. although I don't know how exactly to detect certain gestures) you can use an animation (Google for "android animation") to push the current View off screen, replacing it with the next one.
I have seen this tutorial posted on this group before regarding this topic: http://whyandroid.com/android/174-flipping-your-views.html ... I have not tried it, however. -Nick On Apr 20, 5:11 am, Eddie Ringle <[email protected]> wrote: > If you look at the Google News & Weather app, you can "swipe" over to the > next page. Anyone know how this is done? > I'm suspecting that it is all one activity, the tabs at the top are a custom > TabView, and it works similar to that? > > Eddie Ringle > [email protected]http://eddieringle.com/ > > -- > 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 > athttp://groups.google.com/group/android-developers?hl=en -- 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

