Ah. That's it.

http://developer.android.com/reference/android/app/Activity.html#overridePendingTransition%28int,%20int%29

>>
*Call immediately after one of the flavors of startActivity(Intent) or
finish() to specify an explicit transition animation to perform next.*
<<

As a test, override onBackPressed(), call finish() yourself, and *then*
overridePendingTransition. Do not call super.onBackPressed.

If this works (and it should), take it from there.

-- Kostya

2011/11/22 Neilz <[email protected]>:
> Kostya, would you have a brief example of what you mean here? I call
> overridePendingTransition() in my onCreate() method, but I don't
> explicitly call finish() or do anything beyond that.
>
> On Nov 22, 12:02 pm, Kostya Vasilyev <[email protected]> wrote:
>> You are supposed to set the animations once, after having called
>> finish() on the exiting activity.
> 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

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