You are supposed to set the animations once, after having called finish() on the exiting activity.
Make sure to set the parameters correctly - one is the exit animation for activity we're exiting, the other is the entry animation for the activity we're entering. Oh, and it definitely does work. I use it to set both animations to null to get the illusion of updating data inside the activity, whereas the code actually finishes the current activity and starts a new one with new data. -- Kostya 2011/11/22 Neilz <[email protected]>: > I've tried various combinations yes, but the departing activity always > just goes 'phhh' :) > > On Nov 21, 10:28 pm, TreKing <[email protected]> wrote: >> On Mon, Nov 21, 2011 at 12:04 PM, Neilz <[email protected]> wrote: >> > The function *is* being called on the new activity. It's when the user >> > clicks 'back' and the activity disappears, that I want to add an exit >> > animation. >> >> Let me rephrase - did you try calling that method on *both* activities or >> just one? >> >> ------------------------------------------------------------------------------------------------- >> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago >> transit tracking app for Android-powered devices > > -- > 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 -- 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

