Page display method, electronic device and storage medium
AssigneeBeijing Xiaomi Mobile Software Co., Ltd.
InventorYaxin WANG
Life of this patent
Estimating the term…
Abstract
A page display method includes: determining a target sub-page to be switched into a freeform window mode from a plurality of sub-pages of a target application in an activity-embedding mode in response to a first operation; obtaining first display configuration information of a first display window for displaying the target sub-page in the activity-embedding mode; obtaining second display configuration information in the freeform window mode by modifying the first display configuration information according to the freeform window mode; and displaying the target sub-page in a second display window in the freeform window mode according to the second display configuration information.
Claims20
A page display method, comprising:
- in response to a first operation, determining, by a page display device, a target sub-page to be switched into a freeform window mode, wherein the target sub-page is from a plurality of sub-pages in a target application, and the target application is in an activity-embedding mode;
- obtaining, by the page display device, first display configuration information of a first display window for displaying the target sub-page in the activity-embedding mode;
- obtaining, by the page display device, second display configuration information in the freeform window mode by modifying the first display configuration information according to the freeform window mode;
- and
- displaying, by the page display device, the target sub-page in a second display window in the freeform window mode according to the second display configuration information.
An electronic device, comprising:
- at least one processor;
- and
- a memory communicatively connected to the at least one processor and having stored therein instructions that are executable by the at least one processor;
- wherein the instructions, when executed by the at least one processor, cause the at least one processor to:
- in response to a first operation, determine a target sub-page to be switched into a freeform window mode, wherein the target sub-page is from a plurality of sub-pages in a target application, and the target application is in an activity-embedding mode;
- obtain first display configuration information of a first display window for displaying the target sub-page in the activity-embedding mode;
- obtain second display configuration information in the freeform window mode by modifying the first display configuration information according to the freeform window mode;
- and
- display the target sub-page in a second display window in the freeform window mode according to the second display configuration information.
A non-transitory computer-readable storage medium having stored therein computer instructions that, when executed by a computer, cause the computer to:
- in response to a first operation, determine a target sub-page to be switched into a freeform window mode, wherein the target sub-page is from a plurality of sub-pages in a target application, and the target application is in an activity-embedding mode;
- obtain first display configuration information of a first display window for displaying the target sub-page in the activity-embedding mode;
- obtain second display configuration information in the freeform window mode by modifying the first display configuration information according to the freeform window mode;
- and
- display the target sub-page in a second display window in the freeform window mode according to the second display configuration information.
Dependencies are inferred from the claim text.