I hope that this works on foldable phones, as well.
However, I don't see the top window handle they show in the animation. I have to long press the app icon in the running apps view, then I get a free form option. At that point, I get the floating windows with controls. You can tap and drag the sides and corners of apps to resize windows, seems intuitive enough.