摘要 |
<p>Embodiments of the present invention disclose a method and a terminal for controlling switching of a desktop container, which are used to replace a conventional operation of moving a component based on a touch operation on an intelligent terminal. The method according to the embodiments of the present invention includes: obtaining, by a terminal, movement determination information when a component-based moving event is activated; identifying, by the terminal, a movement state of the terminal according to the movement determination information; and switching, by the terminal, a currently displayed desktop container page according to the movement state, and moving a component, on which the moving event is based, to a desktop container page displayed after the switching. After the solutions of the present invention are implemented, hand fatigue of a user caused by touching and holding a component and dragging the component can be avoided, particularly for a user accustomed to operating a big-screen terminal with one hand, and a risk of terminal falling is reduced, thereby improving operation experience of the user.</p> |