Im transitioning between 2 activities using
overridePendingTransition(R.anim.enter_from_right, R.anim.exit_to_left)
My second activity has a frame layout which it then adds a fragment to using
supportFragmentManager.beginTransaction().replace(R.id.fragment_container, fragment, tag).commit()
The problem is that the second Activity with the fragments view isn't rendered until about halfway / end of the transition meaning it appears that I am transitioning to a blank screen.
Is there away to not start the transition until the second activity has finished rendering?
Also I need this to work on API levels < 21