I have an action running with a scene transition with a common element, and it works correctly.
ActivityOptionsCompat options = ActivityOptionsCompat.makeSceneTransitionAnimation(getActivity(), sharedView, "sharedView"); Intent intent = new Intent(getActivity(), NewActivity.class); ActivityCompat.startActivity(getActivity(), intent, options.toBundle());
The element animates smoothly from old to new. However, I would like to change how the transition animates a bit, especially the interpolator. It seems like a smooth default interpolator is being used, but I would like to use a new interpolator with quick material substitution, and I cannot figure out how to indicate this.
What to do to override the default transition?
source share