The MultiLayout shows how to write a layout manager with two policies, and to use the easing state of a child to interpolate the allocation.