User interface layouts can change due to a number of factors, e.g., resizing of windows by users, change in active application, overlay of a window by another, addition or removal of UI elements, etc. Layout changes are typically animated, e.g., there are no jump-cuts from one layout to another. During an ongoing layout animation, there can be additional layout changes that require that the animation adapt to the new target layout. Present UI frameworks or toolkits are not interruptible, e.g., they do not gracefully incorporate the new layout target; instead, they head towards the new layout target with no change in velocity, resulting in visual interruption. Current layout animations are also not automatic, e.g., developers specify the animations for layout changes. This disclosure uses physics-based techniques to effect smooth, automatic, and interruptible layout animation with no extra effort from developers.

Creative Commons License

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 License.