Created
March 13, 2021 11:09
-
-
Save GeorgCantor/f44e9ff2c86070d76368f3a425eb7085 to your computer and use it in GitHub Desktop.
This file contains 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
fun View.getTransform(mEndView: View) = MaterialContainerTransform().apply { | |
startView = this@getTransform | |
endView = mEndView | |
addTarget(mEndView) | |
pathMotion = MaterialArcMotion() | |
duration = 550 | |
scrimColor = Color.TRANSPARENT | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment