Created
June 23, 2021 23:44
-
-
Save victorbrndls/fac691f7ac55a9081c53285d8d133b1f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| override fun onCreate(savedInstanceState: Bundle?) { | |
| super.onCreate(savedInstanceState) | |
| enterTransition = MaterialFadeThrough().apply { | |
| removeTarget(R.id.icon) | |
| } | |
| sharedElementEnterTransition = MaterialContainerTransform().apply { | |
| drawingViewId = R.id.navHostController | |
| setPathMotion(ArcMotion()) | |
| scrimColor = Color.TRANSPARENT | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment