Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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