US 12,288,086 B2
Application interface layout method and electronic device
Wei Zhong, Shanghai (CN); Yang Li, Shanghai (CN); Zhang Gao, Shanghai (CN); Longjiao Xin, Shanghai (CN); Qichao Yang, Shanghai (CN); Bo Tang, Shanghai (CN); Tong Jiao, Shanghai (CN); Xiaoxiao Chen, Nanjing (CN); Jun Zhu, Guangdong (CN); Letian Liu, Shanghai (CN); and Duoxian Li, Shanghai (CN)
Assigned to HUAWEI TECHNOLOGIES CO., LTD., Shenzhen (CN)
Filed by Huawei Technologies Co., Ltd., Shenzhen (CN)
Filed on Mar. 28, 2023, as Appl. No. 18/191,378.
Application 18/191,378 is a continuation of application No. PCT/CN2021/118570, filed on Sep. 15, 2021.
Claims priority of application No. 202011058008.5 (CN), filed on Sep. 29, 2020; application No. 202011110788.3 (CN), filed on Oct. 16, 2020; application No. 202011141053.7 (CN), filed on Oct. 22, 2020; application No. 202011142649.9 (CN), filed on Oct. 22, 2020; application No. 202011142738.3 (CN), filed on Oct. 22, 2020; application No. 202011183319.4 (CN), filed on Oct. 29, 2020; application No. 202011183328.3 (CN), filed on Oct. 29, 2020; application No. 202011189853.6 (CN), filed on Oct. 30, 2020; and application No. 202110687153.8 (CN), filed on Jun. 21, 2021.
Prior Publication US 2023/0281025 A1, Sep. 7, 2023
Int. Cl. G06F 9/451 (2018.01); G06F 8/61 (2018.01)
CPC G06F 9/451 (2018.02) [G06F 8/61 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A method, implemented by an electronic device, wherein the method comprises:
installing an application installation package of an application, wherein the application installation package comprises a first layout file indicating N child views and an enabled preset capability, wherein N is a positive integer, and wherein the enabled preset capability comprises one or more of an extension capability, a proportion capability, an equalization capability, a stretching capability, or a hiding capability;
receiving, from a user on a first interface, a first operation;
determining, in response to the received first operation and based on a device parameter of the electronic device and the enabled preset capability, attribute values of the N child views, wherein the device parameter comprises at least one of a screen type value of the electronic device, a screen dimension value of the electronic device, or a running status value of the electronic device, and wherein the attribute values indicate sizes of the N child views on a second interface and locations of the N child views on the second interface; and
displaying, on the second interface based on the attribute values, the N child views.