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
Post a Comment