On the Android Emulator, as you launch a new activity, the old
activity slides to the left and the new activity slides in from the
right.  Similarly, when you hit the back button you get the opposite
effect.

This does not seem to happen on the G1.  Both launching an activity
(or a task/application for that matter) and the back button simply
replace the previous screen.  Is there any way to get the transition
behavior on the G1?

I know you can apply an animation to a specific activity (or more
accurately, you can apply a LayoutAnimation to the outermost layout
view of an activities UI) which will make it slide in from the right.
You can also apply animations to layouts to emulate sliding out to the
left and probably sliding back in from the left in an onResume to
imitate the back button.  However, I have not found a way to tie the
two animations together so that the two views move in concert.  It
does not look nearly as nice to have one slide off, the screen go
white for a flash, and then the new one slide on.

Any help?
--~--~---------~--~----~------------~-------~--~----~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to