java - ActionBar up button transition effect -


i have created method animation when changing activities when button pressed. problem actionbar button has default transition effect previous activity , can't find way override animation , use new one. ideas? in advance

preferably hardcoded in java

just event "home back"

@override public boolean onoptionsitemselected(menuitem item) {      if (item.getitemid() == android.r.id.home) {         finish();         overridependingtransition(r.animator.anim_left, r.animator.anim_right);         return true;     }     return false; } 

Comments

Popular posts from this blog

curl - PHP fsockopen help required -

HTTP/1.0 407 Proxy Authentication Required PHP -

c# - Resource not found error -