All posts
TELEGRAM5 Feb 2026

In Material3 version 1.5.0, presets for animations were added that can be enabled in Theme.kt

MaterialTheme( colorScheme = colorScheme, typography = Typography, motionScheme = MotionScheme.expressive(), content = content, )

Next, in `animationSpec`, we specify a preset from `MaterialTheme`, similar to how we did for `typography` or `colorScheme`

val animationProgress by animateFloatAsState( ... animationSpec = MaterialTheme.motionScheme.slowSpatialSpec(), )

Check out the video and code example to see the new animations from M3 Expressive

This post is synced with the @developerbox channel

This page was machine-translated from Russian

RU