mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-22 22:21:18 +00:00
Added custom account/identity animation
This commit is contained in:
parent
eab944f3e3
commit
a75e878978
2 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue