Added custom account/identity animation

This commit is contained in:
M66B 2020-11-23 11:44:38 +01:00
parent eab944f3e3
commit a75e878978
2 changed files with 2 additions and 0 deletions

View File

@ -1294,6 +1294,7 @@ public class FragmentAccount extends FragmentBase {
FragmentIdentity fragment = new FragmentIdentity();
fragment.setArguments(aargs);
FragmentTransaction fragmentTransaction = getParentFragmentManager().beginTransaction();
fragmentTransaction.setCustomAnimations(R.anim.enter_from_right, R.anim.leave_to_left);
fragmentTransaction.replace(R.id.content_frame, fragment).addToBackStack("identity");
fragmentTransaction.commit();
}

View File

@ -556,6 +556,7 @@ public class FragmentPop extends FragmentBase {
FragmentIdentity fragment = new FragmentIdentity();
fragment.setArguments(aargs);
FragmentTransaction fragmentTransaction = getParentFragmentManager().beginTransaction();
fragmentTransaction.setCustomAnimations(R.anim.enter_from_right, R.anim.leave_to_left);
fragmentTransaction.replace(R.id.content_frame, fragment).addToBackStack("identity");
fragmentTransaction.commit();
}