ModifiersBuilders.FadeOutTransition


@RequiresSchemaVersion(major = 1, minor = 200)
@ProtoLayoutExperimental
class ModifiersBuilders.FadeOutTransition


The fading animation for content transition of an element and its children, from fully visible to the specified target alpha.

Summary

Public functions

AnimationParameterBuilders.AnimationSpec?

Gets the animation parameters for duration, delay, etc.

@FloatRange(from = 0.0, to = 1.0) Float

Gets the target alpha of the fade out transition.

String

Public functions

getAnimationSpec

Added in 1.0.0
fun getAnimationSpec(): AnimationParameterBuilders.AnimationSpec?

Gets the animation parameters for duration, delay, etc.

getTargetAlpha

Added in 1.0.0
fun getTargetAlpha(): @FloatRange(from = 0.0, to = 1.0) Float

Gets the target alpha of the fade out transition. It should be between 0 and 1. If not set, defaults to fully invisible, i.e. 0.

toString

fun toString(): String