Method for icon display, terminal, and storage medium
AssigneeGuangdong Oppo Mobile Telecommunications Corp., Ltd.
InventorFang SONG
Life of this patent
Estimating the term…
Abstract
A method for icon display, a terminal, and a storage medium are provided, which relate to the technical filed of computers. According to the technical solutions of implementations, an attribute of a foreground application is acquired after receiving a sidebar display instruction. The number of rows and columns of icons in each of the at least two sub-regions is determined according to the attribute of the foreground application. At least one icon is displayed in each of the at least two sub-regions according to the number of rows and columns of icons in each of the at least two sub-regions.
Claims20
A method for icon display, comprising:
- acquiring an attribute of a foreground application after receiving a sidebar display instruction, wherein the sidebar display instruction is used to instruct a terminal to display a sidebar on a current user interface, the sidebar comprises at least two sub-regions, and the attribute of the foreground application comprises a type of the foreground application or an application scene of the foreground application;
- determining, according to the attribute of the foreground application, a number of rows and columns of icons in each of the at least two sub-regions, wherein the number of rows and columns of icons is indicative of the number of rows and columns of at least one icon in one page of one sub-region;
- and
- displaying at least one icon in each of the at least two sub-regions according to the number of rows and columns of icons in each of the at least two sub-regions.
A terminal, comprising:
- at least one processor;
- and
- a non-transitory computer readable storage, coupled to the at least one processor and storing at least one computer executable instruction thereon which, when executed by the at least one processor, causes the at least one processor to:
- acquire an attribute of a foreground application after receiving a sidebar display instruction, wherein the sidebar display instruction is used to instruct a terminal to display a sidebar on a current user interface, the sidebar comprises at least two sub-regions, and the attribute of the foreground application comprises a type of the foreground application or an application scene of the foreground application;
- determine, according to the attribute of the foreground application, a number of rows and columns of icons in each of the at least two sub-regions, wherein the number of rows and columns of icons is indicative of the number of rows and columns of at least one icon in one page of one sub-region;
- display at least one icon in each of the at least two sub-regions according to the number of rows and columns of icons in each of the at least two sub-regions.
A non-transitory computer readable storage medium storing a computer program which, when executed by a processor, causes the processor to:
- acquire an attribute of a foreground application after receiving a sidebar display instruction, wherein the sidebar display instruction is used to instruct a terminal to display a sidebar on a current user interface, the sidebar comprises at least two sub-regions, and the attribute of the foreground application comprises a type of the foreground application or an application scene of the foreground application;
- determine, according to the attribute of the foreground application, a number of rows and columns of icons in each of the at least two sub-regions, wherein the number of rows and columns of icons is indicative of the number of rows and columns of at least one icon in one page of one sub-region;
- determine, according to the number of rows and columns of icons in each of the at least two sub-regions, a size of each of the at least two sub-regions in the sidebar;
- and
- display at least one icon in each of the at least two sub-regions.
Dependencies are inferred from the claim text.