Change app launch animatinon
This commit is contained in:
parent
2af64000de
commit
9f6444ef77
@ -59,7 +59,7 @@ abstract class SearchableItemVM(
|
||||
open fun launch(context: Context, bounds: Rect? = null): Boolean {
|
||||
val view = (context as? AppCompatActivity)?.window?.decorView
|
||||
val options = if (bounds != null && view != null) {
|
||||
ActivityOptionsCompat.makeClipRevealAnimation(
|
||||
ActivityOptionsCompat.makeScaleUpAnimation(
|
||||
view,
|
||||
bounds.left.toInt(),
|
||||
bounds.top.toInt(),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user