[android-developers] Re: Swipe to next screen

2010-04-21 Thread Eddie Ringle
Okay, thanks. Just wanted a second opinion.

On Apr 20, 3:26 pm, patbenatar patbena...@gmail.com wrote:
 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 ed...@eringle.net 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
  ed...@eringle.nethttp://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 android-developers@googlegroups.com
  To unsubscribe from this group, send email to
  android-developers+unsubscr...@googlegroups.com
  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 android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 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 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


[android-developers] Re: Swipe to next screen

2010-04-20 Thread patbenatar
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 ed...@eringle.net 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
 ed...@eringle.nethttp://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 android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 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 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


Re: [android-developers] Re: Swipe to next screen

2010-04-20 Thread abisai rangel
New HP Slate Photos here  Website with
photoshttp://bizoppoffer.com/x/0/1320/6428/

On Tue, Apr 20, 2010 at 12:26 PM, patbenatar patbena...@gmail.com wrote:

 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 ed...@eringle.net 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
  ed...@eringle.nethttp://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 android-developers@googlegroups.com
  To unsubscribe from this group, send email to
  android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
  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 android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://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 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