EmbeddingAnimationBackground
public abstract class EmbeddingAnimationBackground
EmbeddingAnimationBackground.ColorBackground |
An {@link EmbeddingAnimationBackground} to specify of using a developer-defined color as the animation background. |
Background to be used for window transition animations for embedding activities if the animation requires a background.
| See also | |
|---|---|
animationBackground |
Summary
Nested types |
|---|
public final class EmbeddingAnimationBackground.ColorBackground extends EmbeddingAnimationBackgroundAn {@link EmbeddingAnimationBackground} to specify of using a developer-defined color as the animation background. |
Public fields |
|
|---|---|
static final @NonNull EmbeddingAnimationBackground |
The special |
Public methods |
|
|---|---|
static final @NonNull EmbeddingAnimationBackground.ColorBackground |
createColorBackground(Creates a |
Public fields
DEFAULT
public static final @NonNull EmbeddingAnimationBackground DEFAULT
The special EmbeddingAnimationBackground to represent the default value, which means to use the current theme window background color.
Public methods
createColorBackground
public static final @NonNull EmbeddingAnimationBackground.ColorBackground createColorBackground(
@IntRange(from = -16777216, to = -1) @ColorInt int color
)
Creates a ColorBackground to represent the given color.
Only opaque color is supported.
| Returns | |
|---|---|
@NonNull EmbeddingAnimationBackground.ColorBackground |
the |
| Throws | |
|---|---|
kotlin.IllegalArgumentException |
if the |
| See also | |
|---|---|
DEFAULT |
for the default value, which means to use the current theme window background color. |