mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-25 18:47:38 +00:00
parent
fb04e32480
commit
27c59dbb65
@ -322,7 +322,9 @@ fun View.addOnGlobalLayoutListener(oneShot: Boolean = false, callback: () -> Uni
|
|||||||
|
|
||||||
fun ViewGroup.startAnimations() {
|
fun ViewGroup.startAnimations() {
|
||||||
val transition = AutoTransition()
|
val transition = AutoTransition()
|
||||||
.setInterpolator(FastOutSlowInInterpolator()).setDuration(400)
|
.setInterpolator(FastOutSlowInInterpolator())
|
||||||
|
.setDuration(400)
|
||||||
|
.excludeTarget(R.id.main_toolbar, true)
|
||||||
TransitionManager.beginDelayedTransition(
|
TransitionManager.beginDelayedTransition(
|
||||||
this,
|
this,
|
||||||
transition
|
transition
|
||||||
|
Loading…
x
Reference in New Issue
Block a user