Adjust settings page transitions
This commit is contained in:
parent
0c85d6d90b
commit
c2af63a828
@ -106,16 +106,16 @@ class SettingsActivity : BaseActivity() {
|
|||||||
navController = navController,
|
navController = navController,
|
||||||
startDestination = "settings",
|
startDestination = "settings",
|
||||||
exitTransition = {
|
exitTransition = {
|
||||||
slideOutHorizontally { it / 2 } + fadeOut()
|
slideOutHorizontally { it / 4 }
|
||||||
},
|
},
|
||||||
enterTransition = {
|
enterTransition = {
|
||||||
slideInHorizontally { it / 2 } + scaleIn(initialScale = 0.95f)
|
slideInHorizontally { it / 2 } + scaleIn(initialScale = 0.9f) + fadeIn()
|
||||||
},
|
},
|
||||||
popEnterTransition = {
|
popEnterTransition = {
|
||||||
slideInHorizontally { -it / 2 } + fadeIn()
|
slideInHorizontally { -it / 4 }
|
||||||
},
|
},
|
||||||
popExitTransition = {
|
popExitTransition = {
|
||||||
slideOutHorizontally { it / 2 } + scaleOut(targetScale = 0.95f)
|
slideOutHorizontally { it / 2 } + scaleOut(targetScale = 0.9f) + fadeOut()
|
||||||
},
|
},
|
||||||
) {
|
) {
|
||||||
composable("settings") {
|
composable("settings") {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user