Package-level declarations

Types

Link copied to clipboard

The system's activity motion values. See CrossActivityBackAnimation in AOSP.

Link copied to clipboard

The transitions Android plays between activities, rebuilt for destinations that are not activities.

Link copied to clipboard

Android's default cross-activity back animation, driven by a back gesture and drawn on two pages instead of two windows.

Link copied to clipboard

How a child or a page enters, and leaves again on back.

Link copied to clipboard

Plays a ScreenTransition forward or back, scaled by the developer options' animation speed.

Link copied to clipboard

The shell's transitions, scaled by the developer options' animation speed.

Link copied to clipboard
class ShellTransitions(val children: ScreenTransition = ScreenTransition.Slide, val pages: ScreenTransition = ScreenTransition.Activity, val byLayout: Map<ShellLayoutMode, ShellTransitions> = emptyMap())

Which ScreenTransition each kind of destination uses when it declares none, with defaults of their own for some navigation layouts.

Link copied to clipboard
Link copied to clipboard

How the shell moves between tabs. Pages and children use a ScreenTransition.

Properties

Functions

Link copied to clipboard
fun rememberShellMotion(tabStyle: TabTransitionStyle, durationScale: Float, followFingerFromRight: Boolean = false): ShellMotion