CN106951143B - Method and device for hiding application icons - Google Patents
Method and device for hiding application icons Download PDFInfo
- Publication number
- CN106951143B CN106951143B CN201710170118.2A CN201710170118A CN106951143B CN 106951143 B CN106951143 B CN 106951143B CN 201710170118 A CN201710170118 A CN 201710170118A CN 106951143 B CN106951143 B CN 106951143B
- Authority
- CN
- China
- Prior art keywords
- icon
- hidden
- hiding
- terminal
- moving
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/04817—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a method and a device for hiding application icons, and belongs to the technical field of terminals. The method comprises the following steps: if the movement operation on the first icon is detected, moving the first icon according to the movement operation; when the moving operation is finished, determining the overlapping area of the first icon and the second icon; and if the overlapping area of the first icon and the second icon is larger than a preset threshold value and the first icon has no associated hidden icon, hiding the first icon in the second icon. According to the method and the device, the hiding can be triggered through the overlapping of the icons, so that the application icons can be hidden only through simple moving operation without other additional operations, the steps of the hiding operation are simplified, and the operation efficiency is improved.
Description
Technical Field
The invention relates to the technical field of terminals, in particular to a method and a device for hiding application icons.
Background
With the development of terminal technology, the load capacity of the terminal is stronger and stronger. The terminal user can install a plurality of applications on the terminal according to the use requirement of the terminal user. The application icons of the applications are displayed on the desktop of the terminal one by one, so that a user can conveniently perform corresponding operations on the applications through the application icons, such as searching, using, moving or deleting the applications. For some important applications, such as applications involving personal privacy, the user may wish to hide the application icons of those applications to avoid the application being easily discovered or used by others.
Currently, the hiding process of the application icon generally includes: the user can perform trigger operation on the hidden function button in a setting interface of the terminal, and when the terminal detects the trigger operation, an unlocking password setting interface is displayed. The terminal can acquire that a user can input a master password and a visitor password in the unlocking password setting interface and display an application hiding interface, wherein the application hiding interface is used for providing a plurality of applications for selection. The user can select a target application to be hidden in the application hiding interface, and the terminal can set the target application selected by the user to be in a state of not being displayed on a specified desktop, wherein the specified desktop is a desktop unlocked by the user through a visitor password. When the terminal acquires a password input by a user on a screen locking interface, verifying the password, and if the password is the same as the password of the visitor, displaying the specified desktop, wherein the specified desktop is used for displaying other application icons except the target application; and if the password is the same as the host password, displaying a normal desktop, wherein the normal desktop is used for displaying all application icons on the terminal.
In the process of implementing the invention, the inventor finds that the prior art has at least the following problems:
according to the technology, the hidden function of the terminal is opened, the two unlocking passwords are set, so that different desktops are displayed on the terminal based on different unlocking passwords, and when other people unlock the terminal through the visitor passwords, the terminal displays the appointed desktop with the target application icon hidden. The technology for hiding the application icon needs to be operated through the processes of opening a hiding function, setting two passwords and verifying the passwords.
Disclosure of Invention
In order to solve the problems in the prior art, embodiments of the present invention provide a method and an apparatus for hiding an application icon. The technical scheme is as follows:
in a first aspect, a method for hiding an application icon is provided, where the method includes:
if the movement operation on the first icon is detected, moving the first icon according to the movement operation;
when the moving operation is finished, determining the overlapping area of the first icon and the second icon;
and if the overlapping area of the first icon and the second icon is larger than a preset threshold value and the first icon has no associated hidden icon, hiding the first icon in the second icon.
In a first implementation form of the first aspect, the method further includes:
and if the hidden icon associated with the first icon cannot be found in the hidden icon association table of the first icon, determining that the hidden icon is not associated in the first icon, wherein the hidden icon association table is used for indicating the association relationship between the icons.
In a second implementation manner of the first aspect, hiding the first icon in the second icon includes:
and setting the display state of the first icon to be hidden, and creating an association relation between the first icon and the second icon.
In a third implementation manner of the first aspect, before the setting the display state of the first icon to be hidden, the method further includes:
and displaying an animation of the first icon from the end of the moving operation to the hiding of the first icon, wherein the size of the first icon in the animation is in a trend of changing from large to small.
In a fourth implementation manner of the first aspect, after hiding the first icon in the second icon, the method further includes:
if a specified operation on the second icon is detected, displaying the first icon associated with the second icon, wherein the specified operation has two touch points, and the relative distance between the two touch points continuously increases;
when the specified operation is finished, if the first icon is not overlapped with the second icon, displaying the first icon, and releasing the association relationship between the first icon and the second icon.
In a fifth implementation form of the first aspect, the method further includes:
and when the specified operation is finished, if the first icon is overlapped with the second icon, starting the application corresponding to the first icon.
In a sixth implementation form of the first aspect, the method further comprises:
when the moving operation is finished, if the first icon is overlapped with a third icon, displaying a selection interface, wherein the selection interface is used for providing the processing type of the first icon in the third icon for selection, and the third icon is a folder icon;
and hiding the first icon in the third icon if the triggering operation of the hidden option in the selection interface is detected.
In a seventh implementation manner of the first aspect, after the displaying the selection interface, the method further includes:
and if the triggering operation of the mobile option in the selection interface is detected, the first icon is moved to the folder corresponding to the third icon.
In a second aspect, an apparatus for hiding an application icon is provided, the apparatus comprising:
the moving module is used for moving the first icon according to the moving operation if the moving operation of the first icon is detected;
the determining module is used for determining the overlapping area of the first icon and the second icon when the moving operation is finished;
and the hiding module is used for hiding the first icon in the second icon if the overlapping area of the first icon and the second icon is larger than a preset threshold value and the first icon has no associated hidden icon.
In a first implementation manner of the second aspect, the determining module is further configured to determine that there is no associated hidden icon in the first icon if the hidden icon associated with the first icon is not found in the hidden icon association table of the first icon, where the hidden icon association table is used to indicate an association relationship between icons.
In a second implementation manner of the second aspect, the hiding module is configured to set a display state of the first icon to be hidden, and create an association relationship between the first icon and the second icon.
In a third implementation form of the second aspect, the apparatus further includes:
and the display module is used for displaying the animation of the first icon from the end of the moving operation to the hiding of the first icon, wherein the size of the first icon in the animation is in a trend of changing from large to small.
In a fourth implementation manner of the second aspect, the display module is further configured to display the first icon associated with the second icon if a specified operation on the second icon is detected, where the specified operation has two touch points, and a relative distance between the two touch points continuously increases;
the display module is further configured to display the first icon and release the association relationship between the first icon and the second icon if the first icon and the second icon are not overlapped when the designating operation is finished.
In a fifth implementation manner of the second aspect, the apparatus further includes:
and the starting module is used for starting the application corresponding to the first icon if the first icon is overlapped with the second icon when the specified operation is finished.
In a sixth implementation manner of the second aspect, the display module is further configured to display a selection interface when the moving operation is finished, if the first icon and a third icon are overlapped, the selection interface is used for providing a selection of a processing type of the first icon in the third icon, and the third icon is a folder icon;
the hiding module is further used for hiding the first icon in the third icon if the triggering operation of the hidden option in the selection interface is detected.
In a seventh implementation manner of the second aspect, the moving module is further configured to move the first icon to a folder corresponding to the third icon if a trigger operation on a moving option in the selection interface is detected.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
the hiding is triggered by the overlapping of the icons, so that the application icons can be hidden only by simple moving operation without other additional operations, the steps of the hiding operation are simplified, and the operation efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of a method for hiding an application icon according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for hiding an application icon according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a desktop of a terminal according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of an icon overlay provided by an embodiment of the present invention;
FIG. 5 is a schematic diagram of a desktop with hidden icons according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of a specified operation provided by an embodiment of the present invention;
FIG. 7 is a diagram illustrating a hidden icon being removed according to an embodiment of the present invention;
FIG. 8 is an enlarged schematic view of an icon provided in accordance with an embodiment of the present invention;
FIG. 9 is a flowchart of a method for hiding application icons according to an embodiment of the present invention;
FIG. 10 is a schematic illustration of a selection interface provided by an embodiment of the present invention;
fig. 11 is a schematic structural diagram of an apparatus for hiding an application icon according to an embodiment of the present invention;
fig. 12 is a schematic structural diagram of an apparatus for hiding an application icon according to an embodiment of the present invention;
fig. 13 is a schematic structural diagram of an apparatus for hiding an application icon according to an embodiment of the present invention;
fig. 14 is a schematic structural diagram of a terminal 1400 according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Fig. 1 is a flowchart of a method for hiding an application icon according to an embodiment of the present invention. Referring to fig. 1, the method includes:
101. and if the movement operation on the first icon is detected, moving the first icon according to the movement operation.
101. When the moving operation is finished, determining the overlapping area of the first icon and the second icon.
101. And hiding the first icon in the second icon if the overlapping area of the first icon and the second icon is larger than a preset threshold value and the first icon has no associated hidden icon.
According to the method provided by the embodiment of the invention, the hiding is triggered through the overlapping of the icons, so that the application icons can be hidden only through simple moving operation without other additional operations, the steps of hiding operation are simplified, and the operation efficiency is improved.
Optionally, the method further comprises:
and if the hidden icon associated with the first icon cannot be found in the hidden icon association table of the first icon, determining that the hidden icon is not associated in the first icon, wherein the hidden icon association table is used for indicating the association relationship between the icons.
Optionally, hiding the first icon in the second icon includes:
and setting the display state of the first icon to be hidden, and creating an association relation between the first icon and the second icon.
Optionally, before the setting the display state of the first icon to be hidden, the method further includes:
and displaying an animation of the first icon from the end of the moving operation to the hiding of the first icon, wherein the size of the first icon in the animation is in a trend of changing from large to small.
Optionally, after hiding the first icon in the second icon, the method further includes:
if a specified operation on the second icon is detected, displaying the first icon associated with the second icon, wherein the specified operation has two touch points, and the relative distance between the two touch points continuously increases;
when the specified operation is finished, if the first icon is not overlapped with the second icon, the first icon is displayed, and the association relationship between the first icon and the second icon is released.
Optionally, the method further comprises:
and when the specified operation is finished, if the first icon is overlapped with the second icon, starting the application corresponding to the first icon.
Optionally, the method further comprises:
when the moving operation is finished, displaying a selection interface, and if the first icon is overlapped with a third icon, the selection interface is used for providing the processing type of the first icon in the third icon for selection, wherein the third icon is a folder icon;
and hiding the first icon in the third icon if the triggering operation of the hidden option in the selection interface is detected.
Optionally, after the displaying the selection interface, the method further includes:
and if the triggering operation of the moving option in the selection interface is detected, moving the first icon to a folder corresponding to the third icon.
All the above-mentioned optional technical solutions can be combined arbitrarily to form the optional embodiments of the present invention, and are not described herein again.
The embodiment of the invention aims at the process that the terminal hides the first icon in the second icon based on the moving operation of the user on the first icon, wherein the first icon can be any application icon on the terminal desktop, and the second icon can be any application icon on the terminal desktop except the first icon.
Fig. 2 is a flowchart of a method for hiding an application icon according to an embodiment of the present invention. The method is performed by a terminal, and referring to fig. 2, the method includes:
201. and if the movement operation on the first icon is detected, moving the first icon according to the movement operation.
In the embodiment of the invention, when the user does not want the first icon to be seen or used by other people, the first icon on the desktop of the terminal can be moved, and the terminal hides the first icon in the second icon based on the movement operation of the user. The moving operation may be a dragging operation performed on the first icon on the basis of a long-press operation performed on the first icon. For example, a user may perform a long-press operation on the first icon, and when the long-press operation is detected, the terminal may set the first icon in a draggable state so that the first icon may be dragged, at which time, the user may perform a drag operation on the first icon.
Fig. 3 is a schematic diagram of a desktop of a terminal according to an embodiment of the present invention, and referring to fig. 3, a plurality of icons may be provided on the desktop of the terminal, where each application icon corresponds to one application, and each folder icon corresponds to one folder. Taking the first icon as the application icon 3 in fig. 3 and the second icon as the application icon 1 in fig. 3 as an example, the user may move the application icon 3 on the desktop shown in fig. 3, and the terminal may move the application icon 3 according to the movement operation of the application icon 3.
Optionally, when the terminal moves the first icon, the terminal may draw and display a movement animation of the first icon along with the movement track of the moving operation, so that the movement of the first icon has an intuitive effect.
202. When the moving operation is finished, determining the overlapping area of the first icon and the second icon.
Considering that the user moves the first icon, the first icon may not be hidden but only the position of the first icon on the desktop may be changed, so to avoid an incorrect operation condition that the first icon is hidden upon moving, the terminal may be provided with a hidden trigger condition, and the first icon is hidden when the terminal detects the hidden trigger condition.
In this embodiment of the present invention, the hidden trigger condition may include that an overlapping area of the first icon and the second icon is greater than a preset threshold when the moving operation is finished, where the preset threshold may be set by a technician during development, or may be adjusted by a user during a use process, and if the preset threshold is 50% of a display area of the icon, of course, other values may also be used, which is not limited in this embodiment of the present invention. Accordingly, when the user finishes the moving operation on the first icon, the terminal may determine an overlapping area of the first icon and the second icon, and perform corresponding processing on the first icon based on the overlapping area at this time, such as hiding the first icon under the second icon or not hiding the first icon.
In one possible implementation manner, the terminal may determine the overlapping area of the first icon and the second icon according to a specified algorithm, for example, the terminal may confirm the overlapping area of the first icon and the second icon by the position coordinates of the first icon and the second icon on the desktop when the moving operation is finished. Of course, the terminal may also determine the overlapping area in other manners, which is not limited in this embodiment of the present invention.
Referring to fig. 4, fig. 4 is a schematic diagram of icon overlapping according to an embodiment of the present invention, and corresponding to an example that the first icon is the application icon 3 and the second icon is the application icon 1 in step 201, the user may move the application icon 3 to a position below the application icon 1, and at this time, the user releases his hand, that is, the moving operation of the application icon 3 is finished. If the terminal cannot detect the moving operation of the user, the terminal can determine that the moving operation is finished, and instantly determine the overlapping area of the application icon 3 and the application icon 1.
203. And hiding the first icon in the second icon if the overlapping area of the first icon and the second icon is larger than a preset threshold value and the first icon has no associated hidden icon.
In the embodiment of the present invention, in order to avoid the problem that the icons are inconvenient to use because a plurality of icons are hidden under one icon, the hidden trigger condition in step 202 may further include that there is no associated hidden icon in the first icon. Accordingly, when the overlapping area determined in step 202 is larger than the preset threshold and the first icon has no associated hidden icon, the terminal performs the step of hiding the first icon in the second icon.
Referring to fig. 5, fig. 5 is a schematic view of a desktop with hidden icons according to an embodiment of the present invention, after a terminal hides an application icon 3 (a first icon) in an application icon 1 (a second icon), the hidden application icon 3 (the first icon) will not be displayed on the desktop, so as to achieve the purpose of hiding an application icon that a user does not want to be seen or used by others.
In one possible implementation manner, the process of the terminal determining that the first icon has no associated hidden icon may include: if the terminal cannot find the hidden icon associated with the first icon in the hidden icon association table of the first icon, it may be determined that the first icon has no associated hidden icon, and the hidden icon association table is used to indicate an association relationship between icons.
For example, for each icon on the terminal, the terminal may maintain a hidden icon association table of the icon, where the hidden icon association table is used to record an association relationship between the icon and a hidden icon of the icon. For example, if the icon 2 is hidden in the icon 1, the hidden icon association table of the icon 1 records the association relationship between the icon 1 and the icon 2. The embodiment of the present invention is described by taking an example that each icon corresponds to one hidden icon association table, and in fact, the terminal may also maintain one total hidden icon association table, where the hidden icon association table is used to indicate an association relationship between each icon on the terminal and a hidden icon of the icon. When the terminal hides one icon in another icon, the association relationship between the two icons can be added in the hidden icon association table. Of course, the user may subsequently perform a corresponding operation on the terminal, and the terminal deletes the association relationship between the two icons from the hidden icon association table based on the user operation, so that the icon is no longer hidden in the other icon.
In a possible implementation manner, the process of the terminal hiding the first icon in the second icon may include: and setting the display state of the first icon to be hidden, and creating an association relation between the first icon and the second icon. For example, the terminal may add the association relationship in which the first icon is hidden in the second icon in the hidden icon association table of the second icon. In order to enable a user to visually see the state from the end of the moving operation to the hiding state of the first icon, before the display state of the first icon is set to be hidden, the terminal can display an animation from the end of the moving operation to the hiding state of the first icon, and the size of the first icon in the animation is in a trend of changing from large to small. For example, the terminal determines a moving track from the current position of a first icon to the current position of a second icon, draws the first icon on the moving track every preset length, and continuously reduces the display size of the first icon during drawing, so that a user can intuitively see the changing process from the continuous reduction of the first icon to the hiding in the second icon. Of course, the actual moving process may be simulated by means of acceleration instead of being plotted every preset length.
The above steps 201 to 203 are processes of hiding the first icon in the second icon by the terminal, and the terminal hides the first icon without the associated hidden icon in the second icon by determining an overlapping area of the first icon and the second icon when the moving operation is ended and when the overlapping area is greater than a preset threshold. The user can hide the application icon through mobile operation, and the operation is simple.
After the first icon is hidden, if the user wants to view or use the first icon, a designated operation may be performed on the second icon hidden with the first icon, and when the terminal detects the designated operation, the following steps 204 to 205 may be performed.
204. And if the specified operation on the second icon is detected, displaying the first icon associated with the second icon, wherein the specified operation has two touch points, and the relative distance between the two touch points continuously increases.
Fig. 6 is a schematic diagram of a designation operation according to an embodiment of the present invention, and referring to fig. 6, the designation operation may be that one touch point may remain still and the other touch point moves along the first direction, as shown in fig. 6 (a), the user presses the second icon with one finger and slides the second icon along the first direction. As shown in fig. 6 (b), the designating operation may also be that the two touch points move in opposite directions, for example, one finger of the user slides the second icon in the first direction, and the other finger slides the second icon in the second direction. The present invention is not limited to the specific form of the specified operation.
In the embodiment of the present invention, a user may perform a designated operation on the second icon, and when the terminal detects the moving operation, it may be determined whether the second icon has an associated hidden icon, and if the second icon has an associated hidden icon, the terminal may display the hidden icon. Similarly to the process that the terminal determines that there is no associated hidden icon in the first icon in step 203, if the terminal finds the hidden icon associated with the second icon in the hidden icon association table of the second icon, it may determine the associated hidden icon in the second icon.
In the embodiment of the present invention, for example, the terminal finds the hidden icon associated with the second icon as the first icon, and at this time, the terminal may display the first icon hidden in the second icon. Referring to fig. 7, fig. 7 is a schematic diagram of removing a hidden icon according to an embodiment of the present invention, and for a desktop after the application icon 3 in fig. 5 is hidden in the application icon 1, a user may perform the above-mentioned specified operation on the application icon 1 on the desktop, and remove the application icon 3 from the application icon 1.
In a possible implementation manner, referring to fig. 8, fig. 8 is a schematic diagram of icon enlargement according to an embodiment of the present invention, when the terminal detects a user's designation operation on a second icon, the terminal may enlarge the second icon, that is, increase a display size of the second icon to highlight a first icon hidden in the second icon, so that the user can clearly see the first icon hidden in the second icon.
205. When the specified operation is finished, if the first icon is not overlapped with the second icon, the first icon is displayed, and the association relationship between the first icon and the second icon is released.
Similarly to the determination of the overlapping area in step 202, it is considered that the user may not perform the designation operation on the second icon in order to restore the display of the first icon on the desktop, and therefore, in order to avoid the occurrence of the misoperation, the terminal may be provided with a concealment release condition, and when the terminal detects the concealment release condition, the association relationship between the first icon and the second icon may be released. In response to the formation of the association relationship in step 203, the terminal may remove the association relationship between the first icon and the second icon by deleting the association relationship between the first icon and the second icon from the hidden icon association table.
In this embodiment of the present invention, the condition for canceling the association relationship may include that the first icon and the second icon are not overlapped when the designation operation is finished, and accordingly, when the designation operation of the second icon by the user is finished, the terminal may determine whether there is any overlap between the first icon and the second icon, and perform different processing on the first icon based on different determination results. Specifically, if it is determined that there is no overlap, the first icon is no longer hidden, at this time, the terminal may display the first icon, and remove the association relationship between the first icon and the second icon, at this time, the terminal may restore the desktop shown in fig. 3, that is, restore the display of the first icon on the desktop.
The foregoing steps 204 to 205 are performed when the terminal resumes the display process of the first icon on the desktop, and the terminal may resume the display of the first icon by determining that the first icon is not overlapped with the second icon when the designated operation is finished, so that the user may conveniently view or use the first icon, and the operation is simple.
206. And when the specified operation is finished, if the first icon is overlapped with the second icon, starting the application corresponding to the first icon.
In the embodiment of the present invention, when the designating operation is finished, if the terminal determines that the first icon and the second icon are still overlapped, the application corresponding to the first icon is started, and at this time, the association relationship between the first icon and the second icon is not released, that is, the first icon is still hidden in the second icon. The terminal can determine whether the first icon and the second icon overlap by determining the overlapping area of the first icon and the second icon. The determination of the overlap area is the same as step 202, and will not be described herein. In one possible implementation, if the overlapping area of the first icon and the second icon is greater than 0, the terminal may determine that the first icon and the second icon have overlap. After the first icon is hidden, the user can start the hidden first icon through a specified operation, and the operation is simple.
According to the method provided by the embodiment of the invention, the hiding is triggered through the overlapping of the icons, so that the application icons can be hidden only through simple moving operation without other additional operations, the steps of hiding operation are simplified, and the operation efficiency is improved.
The embodiment shown in fig. 2 is a process in which the terminal hides the first icon in the second icon (application icon) and resumes the display of the first icon. In practical use, the terminal may hide the first icon in the folder icon, and a process of hiding the first icon in the third icon (folder icon) by the terminal in the embodiment corresponding to fig. 9 will be described below.
901. And if the movement operation on the first icon is detected, moving the first icon according to the movement operation.
Step 901 is similar to step 201 and will not be described herein again.
902. And when the moving operation is finished, if the first icon is overlapped with the third icon, displaying a selection interface, wherein the selection interface is used for providing the processing type of the first icon in the third icon for selection, and the third icon is a folder icon.
In this embodiment of the present invention, the third icon may be any folder icon on the desktop of the terminal, such as folder icon 1 in fig. 3. Similarly to step 202, the terminal may be provided with a hidden trigger condition, and when the terminal detects the hidden trigger condition, the first icon is hidden.
In this embodiment of the present invention, the hidden trigger condition may include detecting a trigger operation of a user on a specified option in the selection interface. When the user finishes the moving operation of the first icon, the terminal may determine whether the first icon overlaps with the third icon, if so, the terminal may display a selection interface, and perform corresponding processing on the first icon based on the user operation on the selection interface, such as hiding the first icon in the third icon or moving the first icon to a folder corresponding to the third icon. The process of the terminal determining whether the first icon and the third icon overlap is the same as step 206, and is not described herein again.
Referring to fig. 10, fig. 10 is a schematic diagram of a selection interface according to an embodiment of the present invention, where a user may move an application icon 3 (a first icon) to a position below a folder icon 1 (a third icon), and at this time, the user releases his hand, that is, the moving operation on the application icon 3 is finished. At this time, the terminal may display the selection interface, and the selection interface may prompt the user to hide the application icon 3 or move the application icon 3 into the folder corresponding to the folder icon 1, and provide two options, namely a "hide" option and a "move" option. Two processing type options are provided through the selection interface, so that a user can actively select the processing type of the terminal for the first icon, and different processing requirements of the user on the first icon are met.
903. And hiding the first icon in the third icon if the triggering operation of the hidden option in the selection interface is detected.
In the embodiment of the invention, a user can perform triggering operation on any one of two options provided by the selection interface, if the user wants to hide the first icon, the user can perform triggering operation on the hidden option, and when the terminal detects the triggering operation, the first icon is hidden in the third icon.
In a possible implementation manner, the process of the terminal hiding the first icon in the third icon may include: and setting the display state of the first icon to be hidden, and creating an association relation between the first icon and the third icon. For example, the terminal may add the association relationship in which the first icon is hidden in the third icon in the hidden icon association table of the third icon. The hidden icon association table of the third icon is used for recording the association relationship between the third icon and the hidden icon of the third icon.
The steps 901 to 903 are processes of hiding the first icon in the folder icon by the terminal, and by providing the selection interface, the terminal can quickly hide the first icon when detecting the triggering operation of the user on the hidden option in the selection interface, so that the operation efficiency is improved.
904. And if the triggering operation of the moving option in the selection interface is detected, moving the first icon to a folder corresponding to the third icon.
In the embodiment of the invention, if the user does not want to hide the first icon, a trigger operation can be performed on the mobile option in the selection interface, and when the terminal detects the mobile operation, the first icon is moved to the folder corresponding to the third icon.
According to the method provided by the embodiment of the invention, the selection interface is displayed according to the mobile operation of the user, and the hiding of the application icon is triggered by the triggering operation of the user on the hidden option in the selection interface, so that the application icon can be hidden only by simple mobile operation and triggering operation without other additional operations, the step of hiding the operation is simplified, and the operation efficiency is improved.
Fig. 11 is a schematic structural diagram of an apparatus for hiding an application icon according to an embodiment of the present invention. Referring to fig. 11, the apparatus includes:
a moving module 1101 configured to, if a moving operation on a first icon is detected, move the first icon according to the moving operation;
a determining module 1102, configured to determine an overlapping area of the first icon and the second icon when the moving operation is finished;
a hiding module 1103, configured to hide the first icon in the second icon if an overlapping area of the first icon and the second icon is greater than a preset threshold and there is no associated hidden icon in the first icon.
Optionally, the determining module 1102 is further configured to determine that there is no hidden icon associated in the first icon if the hidden icon associated with the first icon is not found in the hidden icon association table of the first icon, where the hidden icon association table is used to indicate an association relationship between icons.
Optionally, the hiding module 1103 is configured to set the display state of the first icon to be hidden, and create an association relationship between the first icon and the second icon.
Optionally, referring to fig. 12, the apparatus further comprises:
the display module 1104 is configured to display an animation of the first icon from the end of the moving operation to the hiding of the first icon, where the size of the first icon in the animation is in a trend of changing from large to small.
Optionally, the display module 1104 is further configured to display the first icon associated with the second icon if a specified operation on the second icon is detected, where the specified operation has two touch points and a relative distance between the two touch points continuously increases;
the display module 1104 is further configured to display the first icon and release the association relationship between the first icon and the second icon if the first icon and the second icon are not overlapped when the designating operation is finished.
Optionally, referring to fig. 13, the apparatus further comprises:
a starting module 1105, configured to start, when the designating operation is finished, an application corresponding to the first icon if the first icon overlaps with the second icon.
Optionally, the display module 1104 is further configured to, when the moving operation is finished, if the first icon is overlapped with a third icon, display a selection interface, where the selection interface is used to provide a selection of a processing type of the first icon in the third icon, and the third icon is a folder icon;
the hiding module 1103 is further configured to hide the first icon in the third icon if a trigger operation on a hidden option in the selection interface is detected.
Optionally, the moving module 1101 is further configured to, if a trigger operation on a moving option in the selection interface is detected, move the first icon to a folder corresponding to the third icon.
In the embodiment of the invention, the hiding is triggered by the overlapping of the icons, so that the application icons can be hidden only by simple moving operation without other additional operations, the steps of hiding the operation are simplified, and the operation efficiency is improved.
It should be noted that: in the apparatus for hiding an application icon provided in the foregoing embodiment, when hiding an application icon, only the division of each function module is illustrated, and in practical application, the function distribution may be completed by different function modules according to needs, that is, the internal structure of the device is divided into different function modules, so as to complete all or part of the functions described above. In addition, the apparatus for hiding the application icon and the method for hiding the application icon provided in the above embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and will not be described herein again.
The embodiment of the present invention provides a terminal 1400, where the terminal 1400 may be configured to execute the method for hiding the application icon in each embodiment. Referring to fig. 14, the terminal 1400 includes:
the terminal 1400 may include RF (Radio Frequency) circuitry 110, memory 120 including one or more computer-readable storage media, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, a WiFi (Wireless Fidelity) module 170, a processor 180 including one or more processing cores, and a power supply 190. Those skilled in the art will appreciate that the terminal structure shown in fig. 14 is not intended to be limiting and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. Wherein:
the RF circuit 110 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, receives downlink information from a base station and then sends the received downlink information to the one or more processors 180 for processing; in addition, data relating to uplink is transmitted to the base station. In general, the RF circuitry 110 includes, but is not limited to, an antenna, at least one Amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, an LNA (Low Noise Amplifier), a duplexer, and the like. In addition, the RF circuitry 110 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), e-mail, SMS (short messaging Service), etc.
The memory 120 may be used to store software programs and modules, and the processor 180 executes various functional applications and data processing by operating the software programs and modules stored in the memory 120. The memory 120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the terminal 1400, and the like. Further, the memory 120 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 120 may further include a memory controller to provide the processor 180 and the input unit 130 with access to the memory 120.
The input unit 130 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 130 may include a touch-sensitive surface 131 as well as other input devices 132. The touch-sensitive surface 131, also referred to as a touch display screen or a touch pad, may collect touch operations by a user on or near the touch-sensitive surface 131 (e.g., operations by a user on or near the touch-sensitive surface 131 using a finger, a stylus, or any other suitable object or attachment), and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface 131 may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 180, and can receive and execute commands sent by the processor 180. Additionally, the touch-sensitive surface 131 may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch-sensitive surface 131, the input unit 130 may also include other input devices 132. In particular, other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
Terminal 1400 can also include at least one sensor 150, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 141 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 141 and/or the backlight when the terminal 1400 is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the terminal 1400, detailed descriptions thereof are omitted.
WiFi belongs to short-distance wireless transmission technology, and the terminal 1400 can help the user to send and receive e-mail, browse web pages, access streaming media, etc. through the WiFi module 170, and it provides the user with wireless broadband internet access. Although fig. 14 shows the WiFi module 170, it is understood that it does not belong to the essential constitution of the terminal 1400, and can be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 180 is a control center of the terminal 1400, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the terminal 1400 and processes data by operating or executing software programs and/or modules stored in the memory 120 and calling data stored in the memory 120, thereby performing overall monitoring of the mobile phone. Optionally, processor 180 may include one or more processing cores; preferably, the processor 180 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 180.
Terminal 1400 also includes a power supply 190 (e.g., a battery) for powering the various components, which may preferably be logically coupled to processor 180 via a power management system that may be used to manage charging, discharging, and power consumption. The power supply 190 may also include any component including one or more of a dc or ac power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the terminal 1400 may further include a camera, a bluetooth module, etc., which will not be described herein. In this embodiment, the display unit of the terminal is a touch screen display, and the terminal further includes a memory and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the one or more processors. The one or more programs include instructions for performing the operations in the examples implemented in fig. 1 or 9 described above.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.
Claims (5)
1. A method of hiding application icons, the method comprising:
if the movement operation on the first icon is detected, moving the first icon according to the movement operation;
when the moving operation is finished, determining the overlapping area of the first icon and the second icon;
if the overlapping area of the first icon and the second icon is larger than a preset threshold value and the first icon has no associated hidden icon, displaying an animation of the first icon from the end of the moving operation to the hiding of the first icon, setting the display state of the first icon to be hidden and creating an association relation between the first icon and the second icon, wherein the size of the first icon changes from large to small in the animation;
if a specified operation on the second icon is detected, displaying the first icon associated with the second icon, wherein the specified operation has two touch points, and the relative distance between the two touch points continuously increases;
when the specified operation is finished, if the first icon is not overlapped with the second icon, displaying the first icon, and releasing the association relationship between the first icon and the second icon;
and when the specified operation is finished, if the first icon is overlapped with the second icon, starting the application corresponding to the first icon.
2. The method of claim 1, further comprising:
and if the hidden icon associated with the first icon cannot be found in the hidden icon association table of the first icon, determining that the hidden icon is not associated in the first icon, wherein the hidden icon association table is used for indicating the association relationship between the icons.
3. The method of claim 1, further comprising:
when the moving operation is finished, if the first icon is overlapped with a third icon, displaying a selection interface, wherein the selection interface is used for providing the processing type of the first icon in the third icon for selection, and the third icon is a folder icon;
and hiding the first icon in the third icon if the triggering operation of the hidden option in the selection interface is detected.
4. An apparatus for hiding application icons, the apparatus comprising:
the moving module is used for moving the first icon according to the moving operation if the moving operation of the first icon is detected;
the determining module is used for determining the overlapping area of the first icon and the second icon when the moving operation is finished;
a hiding module, configured to display an animation from the end of the moving operation to hiding of the first icon if an overlapping area of the first icon and the second icon is larger than a preset threshold and the first icon has no associated hidden icon, where a size of the first icon in the animation changes from large to small, a display state of the first icon is set to be hidden, and an association relationship between the first icon and the second icon is created;
a display module, configured to display the first icon associated with the second icon if a designation operation on the second icon is detected, where the designation operation has two touch points and a relative distance between the two touch points continuously increases;
the display module is further configured to display the first icon and release the association relationship between the first icon and the second icon if the first icon and the second icon are not overlapped when the designating operation is finished;
the device is further used for starting the application corresponding to the first icon if the first icon is overlapped with the second icon when the specified operation is finished.
5. The apparatus according to claim 4, wherein the display module is further configured to, when the moving operation is finished, display a selection interface if the first icon overlaps with a third icon, where the selection interface is configured to provide a selection of a processing type of the first icon in the third icon, and the third icon is a folder icon;
the hiding module is further used for hiding the first icon in the third icon if the triggering operation of the hidden option in the selection interface is detected.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710170118.2A CN106951143B (en) | 2017-03-21 | 2017-03-21 | Method and device for hiding application icons |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710170118.2A CN106951143B (en) | 2017-03-21 | 2017-03-21 | Method and device for hiding application icons |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106951143A CN106951143A (en) | 2017-07-14 |
CN106951143B true CN106951143B (en) | 2020-09-01 |
Family
ID=59472830
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710170118.2A Active CN106951143B (en) | 2017-03-21 | 2017-03-21 | Method and device for hiding application icons |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106951143B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109154967A (en) * | 2016-11-01 | 2019-01-04 | 北京小米移动软件有限公司 | The method and device of hiden application icon |
CN108491126A (en) * | 2018-03-12 | 2018-09-04 | 维沃移动通信有限公司 | A kind of resource selection method and mobile terminal |
CN108803960A (en) * | 2018-05-22 | 2018-11-13 | 珠海格力电器股份有限公司 | application icon processing method and device |
CN111142723B (en) * | 2019-12-24 | 2021-07-13 | 维沃移动通信有限公司 | Icon moving method and electronic equipment |
CN112416192A (en) * | 2020-11-11 | 2021-02-26 | 北京梧桐车联科技有限责任公司 | Application program control method and device, electronic equipment and computer storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104915119A (en) * | 2015-06-24 | 2015-09-16 | 努比亚技术有限公司 | Regulation method and device of terminal desktop icon |
CN105677195A (en) * | 2015-12-29 | 2016-06-15 | 宇龙计算机通信科技(深圳)有限公司 | System and method for managing applications in smart terminal |
CN105739817A (en) * | 2016-01-20 | 2016-07-06 | 厦门美图移动科技有限公司 | Icon hiding method and device and mobile terminal |
CN106126077A (en) * | 2016-06-15 | 2016-11-16 | 维沃移动通信有限公司 | A kind of application program image target display control method and mobile terminal |
-
2017
- 2017-03-21 CN CN201710170118.2A patent/CN106951143B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104915119A (en) * | 2015-06-24 | 2015-09-16 | 努比亚技术有限公司 | Regulation method and device of terminal desktop icon |
CN105677195A (en) * | 2015-12-29 | 2016-06-15 | 宇龙计算机通信科技(深圳)有限公司 | System and method for managing applications in smart terminal |
CN105739817A (en) * | 2016-01-20 | 2016-07-06 | 厦门美图移动科技有限公司 | Icon hiding method and device and mobile terminal |
CN106126077A (en) * | 2016-06-15 | 2016-11-16 | 维沃移动通信有限公司 | A kind of application program image target display control method and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN106951143A (en) | 2017-07-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2916206B1 (en) | Sidebar menu display method, device and terminal | |
US20200183574A1 (en) | Multi-Task Operation Method and Electronic Device | |
CN108920926B (en) | Shortcut operation method and mobile terminal | |
CN103389863B (en) | A kind of display control method and device | |
KR102182417B1 (en) | Data sharing method and terminal | |
WO2014032611A1 (en) | Desktop management method and device | |
CN106951143B (en) | Method and device for hiding application icons | |
WO2014206101A1 (en) | Gesture-based conversation processing method, apparatus, and terminal device | |
CN104915091B (en) | A kind of method and apparatus for the prompt information that Shows Status Bar | |
CN109508136B (en) | Display method of application program and mobile terminal | |
CN110308834B (en) | Setting method of application icon display mode and terminal | |
WO2014029255A1 (en) | Method for managing application and user device thereof | |
CN107992342B (en) | Application configuration changing method and mobile terminal | |
CN106371749A (en) | Method and device for terminal control | |
CN105022552A (en) | Message list display method and apparatus | |
US20180198904A1 (en) | Method, apparatus, and system for displaying message in mobile terminal | |
CN108132749B (en) | Image editing method and mobile terminal | |
CN108170329B (en) | Display control method and terminal equipment | |
WO2019047973A1 (en) | Terminal operating method and terminal, and computer readable storage medium | |
CN108153460B (en) | Icon hiding method and terminal | |
CN113050863A (en) | Page switching method and device, storage medium and electronic equipment | |
CN107423050A (en) | A kind of method and apparatus for penetrating operation | |
CN111190515A (en) | Shortcut panel operation method, device and readable storage medium | |
CN104951178A (en) | Processing method, device and system for desktop data | |
CN111694537B (en) | Audio playing method, electronic equipment and readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |