I like new Transitions introduced with Android material design like that :
But, I want used it when I replaced fragment after selected an item in my Drawer :
fragmentManager.beginTransaction().replace(R.id.container, fragment).commit();
Is that possible? Used the same logic with EnterTransition
/ ExitTransition
and Explode
transition animation.
These transitions are for activities, not for fragments, See below from documentation these are specified for windowExitTransition & windowEnterTransition
You can try to achieve same for fragments as well specifying transitions in your fragmenttransanction.