Display method and apparatus
By adjusting the size of display elements according to screen density, the display abnormality problem of electronic devices when the screen density changes is solved, thus improving the user experience.
CN120762553BActive Publication Date: 2026-06-02HONOR DEVICE CO LTD
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HONOR DEVICE CO LTD
- Filing Date
- 2024-07-31
- Publication Date
- 2026-06-02
AI Technical Summary
Technical Problem
In existing technologies, display elements in electronic devices are prone to display abnormalities when the screen density changes, which affects the user experience.
Method used
By adjusting the size of the display elements according to the screen density of the display, and using a formula to update the first size to the size of the first interface element, the proportional relationship between the first size and the second screen density is ensured to conform to the preset, thus achieving flexible adjustment.
Benefits of technology
It improves the display issues of elements when the screen density changes, thus enhancing the user experience.
✦ Generated by Eureka AI based on patent content.
Smart Images

Figure CN120762553B_ABST
Abstract
Embodiments of the present application provide an interface display method and device, and relate to the technical field of terminals. The method comprises: displaying a first interface, the first interface comprising display content; in response to a first operation on the first interface, displaying a second interface, the second interface comprising: a first interface element, the first interface element comprising one or more of the following: text, a button, a menu, a card, or an icon, the size of the first interface element being a first size when the screen density of the display screen is a first screen density, the first size being positively correlated with the first screen density. In this way, in the case that the first size is positively correlated with the first screen density, the first interface element can be flexibly adjusted according to the screen density of the display screen, so as to improve display abnormalities of the first interface element caused by a fixed size.
Need to check novelty before this filing date? Find Prior Art
Citation Information
Patent Citations
Electronic equipment, screen projection method thereof and medium
CN114356258A