| CPC G06F 9/451 (2018.02) [G06F 8/61 (2013.01)] | 20 Claims |

|
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.
|