|
|
@@ -73,7 +73,7 @@ public class FragmentChanger extends ScreenChanger{
|
|
|
public void changeToNext(@ScreenID.FragmentID int id) {
|
|
|
|
|
|
FragmentTransaction fragmentTransaction = activity.getSupportFragmentManager().beginTransaction();
|
|
|
- fragmentTransaction.setCustomAnimations(R.anim.enter, R.anim.exit, R.anim.pop_enter, R.anim.pop_exit);
|
|
|
+ fragmentTransaction.setCustomAnimations(R.anim.enter, R.anim.exit);
|
|
|
|
|
|
changeFragment(id, fragmentTransaction);
|
|
|
|
|
|
@@ -87,7 +87,7 @@ public class FragmentChanger extends ScreenChanger{
|
|
|
public void changeToBack(@ScreenID.FragmentID int id) {
|
|
|
|
|
|
FragmentTransaction fragmentTransaction = activity.getSupportFragmentManager().beginTransaction();
|
|
|
- fragmentTransaction.setCustomAnimations(R.anim.pop_enter, R.anim.pop_exit, R.anim.enter, R.anim.exit);
|
|
|
+ fragmentTransaction.setCustomAnimations(R.anim.back_enter, R.anim.back_exit);
|
|
|
|
|
|
changeFragment(id, fragmentTransaction);
|
|
|
|