Application interface layout method and electronic device
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.
Public/Granted literature
Information query
Patent Agency Ranking
0/0