EmbeddingAnimationParams
class EmbeddingAnimationParams
Parameters to be used for window transition animations for embedding activities.
| See also | |
|---|---|
EmbeddingAnimationParams.Builder |
|
animationParams |
|
EmbeddingAnimationBackground |
|
createColorBackground |
|
DEFAULT |
Summary
Nested types |
|---|
|
The animation to use when an activity transitions (e.g. open, close, or change). |
|
Builder for creating an instance of |
Public functions |
|
|---|---|
open operator Boolean |
Determines whether this object has the same animation parameters as the compared object. |
open Int |
hashCode()Returns a hash code for this |
open String |
toString()A string representation of this |
Public properties |
|
|---|---|
EmbeddingAnimationBackground |
the animation background to use during the animation of the split involving this |
EmbeddingAnimationParams.AnimationSpec |
the animation spec to use for change transitions (when an activity resizes or moves). |
EmbeddingAnimationParams.AnimationSpec |
the animation spec to use for close transitions (when finishing/exiting an activity or when an activity moves to back). |
EmbeddingAnimationParams.AnimationSpec |
the animation spec to use for open transitions (when starting/entering an activity or when an activity moves to front). |
Public functions
equals
open operator fun equals(other: Any?): Boolean
Determines whether this object has the same animation parameters as the compared object.
| Parameters | |
|---|---|
other: Any? |
the object to compare to this object. |
| Returns | |
|---|---|
Boolean |
true if the objects have the same animation parameters, false otherwise. |
Public properties
animationBackground
val animationBackground: EmbeddingAnimationBackground
the animation background to use during the animation of the split involving this EmbeddingAnimationParams object if the animation requires a background. The default is to use the current theme window background color.
changeAnimation
val changeAnimation: EmbeddingAnimationParams.AnimationSpec
the animation spec to use for change transitions (when an activity resizes or moves).
closeAnimation
val closeAnimation: EmbeddingAnimationParams.AnimationSpec
the animation spec to use for close transitions (when finishing/exiting an activity or when an activity moves to back).
openAnimation
val openAnimation: EmbeddingAnimationParams.AnimationSpec
the animation spec to use for open transitions (when starting/entering an activity or when an activity moves to front).