The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.
The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.
Patent No.:
Date of Patent:
Apr. 02, 2024
Filed:
Jul. 23, 2020
Huawei Technologies Co., Ltd., Guangdong, CN;
Zhang Gao, Shanghai, CN;
HUAWEI TECHNOLOGIES CO., LTD., Guangdong, CN;
Abstract
Embodiments of this application provide an interface generation method and a device, where the method is applied to a device having a development function, and may provide a method for automatically adjusting a layout of a visual element on a to-be-generated interface to quickly generate an interface. The method includes: The device obtains a visual element of a reference interface, and obtains configuration information of a display of a target terminal device (). The device determines a visual focus of the visual element based on attribute information of the visual element (). The device determines, based on the configuration information of the display, an interface layout template corresponding to the configuration information (). Finally, the device adjusts, based on the visual focus and the interface layout template, a layout of the visual element on a to-be-generated interface, and generates an interface ().