Reputation: 1621
In my application i need one animation in which the exit animation is from sliding the screen from top to bottom and the entring animation will be like hold, ie, the entering screen remind in its own position no animation required for it but when the previous page slide downs it must be in the under of the new screen.
thanks
jibysthomas
Upvotes: 2
Views: 1449
Reputation: 5058
you can use the following
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
getWindow().setBackgroundDrawableResource(R.drawable.mainbg_);
// overridePendingTransition (R.anim.push_up_in,0);
overridePendingTransition (R.anim.fade_out,R.anim.fade_in);
Upvotes: 1