Package 

Class MaterialElevationScaleKt

    • Method Summary

      Modifier and Type Method Description
      final static EnterTransition materialElevationScaleIn(Float initialAlpha, Float initialScale, Integer durationMillis) materialElevationScaleIn allows to switch a layout with elevation scale enter transition.
      final static ExitTransition materialElevationScaleOut(Float targetAlpha, Float targetScale, Integer durationMillis) materialElevationScaleOut allows to switch a layout with elevation scale exit transition.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • materialElevationScaleIn

         final static EnterTransition materialElevationScaleIn(Float initialAlpha, Float initialScale, Integer durationMillis)

        materialElevationScaleIn allows to switch a layout with elevation scale enter transition.

        Parameters:
        initialAlpha - the starting alpha of the enter transition.
        initialScale - the starting scale of the enter transition.
        durationMillis - the duration of the enter transition.
      • materialElevationScaleOut

         final static ExitTransition materialElevationScaleOut(Float targetAlpha, Float targetScale, Integer durationMillis)

        materialElevationScaleOut allows to switch a layout with elevation scale exit transition.

        Parameters:
        targetAlpha - the target alpha of the exit transition.
        targetScale - the target scale of the exit transition.
        durationMillis - the duration of the exit transition.