I am developing an app in which I am using overridePendingTransition for animation on my activites, everything is fine but the problem is that I don't want to show animation which it to be started, means when I click on a button the my first activity must go down to the screen but the coming activity must be stable to its position, I have passed 0 in method as below

```
    overridePendingTransition(R.anim.toptobottom, 0);

```

but my second activity fluctuates for a while can anybody tell me whats the problem. thanks in advance.