Skip to main content
When a Layout resizes or its content changes, the Layouts inside it move to new positions and sizes. By default, they jump there instantly. Layout animation makes them move there smoothly instead, over a duration and with easing that you choose. Animated layout resizing

How Layout animation works

Layout animation is set on each Layout, and it controls how that Layout moves and resizes. It doesn’t control the Layout’s children. Each Layout uses one of three modes:
  • None: The Layout jumps to its new position and size. This is the default.
  • Inherit: The Layout animates using the duration and easing of its parent Layout.
  • Custom: The Layout animates using its own duration and easing.
To animate a group of children, such as the items in a list, set the parent to Custom and each child to Inherit. You can then change the duration and easing for all of them in one place on the parent.

Adding Layout animation

1
Select a Layout and click + in the Enable Layout Animation section of the Inspector.
2
Select None, Inherit, or Custom.
3
If you selected Custom, set the Duration and the interpolation the Layout uses to move to its new position and size.