-
公开(公告)号:US20230281025A1
公开(公告)日:2023-09-07
申请号:US18191378
申请日:2023-03-28
Applicant: Huawei Technologies Co., Ltd.
Inventor: Wei Zhong , Yang Li , Zhang Gao , Longjiao Xin , Qichao Yang , Bo Tang , Tong Jiao , Xiaoxiao Chen , Jun Zhu , Letian Liu , Duoxian Li
Abstract: An application interface layout method includes that a developer sets a layout container having an adaptive layout capability in a layout file of an application, where the adaptive layout capability includes at least one of an extension capability, a proportion capability, an equalization capability, a wrapping capability, a hiding capability, a stretching capability, or a scaling capability. In this way, when running the application, an electronic device arranges, based on a screen parameter of the electronic device and the adaptive layout capability of the layout container in the layout file, a size and a location of a child view in the layout container on a display interface.
-
公开(公告)号:US12288086B2
公开(公告)日:2025-04-29
申请号:US18191378
申请日:2023-03-28
Applicant: Huawei Technologies Co., Ltd.
Inventor: Wei Zhong , Yang Li , Zhang Gao , Longjiao Xin , Qichao Yang , Bo Tang , Tong Jiao , Xiaoxiao Chen , Jun Zhu , Letian Liu , Duoxian Li
Abstract: An application interface layout method includes that a developer sets a layout container having an adaptive layout capability in a layout file of an application, where the adaptive layout capability includes at least one of an extension capability, a proportion capability, an equalization capability, a wrapping capability, a hiding capability, a stretching capability, or a scaling capability. In this way, when running the application, an electronic device arranges, based on a screen parameter of the electronic device and the adaptive layout capability of the layout container in the layout file, a size and a location of a child view in the layout container on a display interface.
-