Interface Layout Adaptation Using Virtual Pixel Size Consistency
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing interface layouts for applications on different terminal devices suffer from varying visual presentation effects due to differing screen resolutions and dot densities, leading to inconsistent physical sizes of interface elements and suboptimal user experience.
Innovation Solution
Adjust interface element sizes based on a combination of virtual pixel size and dot density, ensuring that the physical size of interface elements remains consistent across different terminal devices by using a reference virtual pixel size as a basis, thereby maintaining uniform visual presentation.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If physical sizes of interface elements are adjusted based on proportional relationships between reference resolution and resolutions to be adapted, then the interface can be adapted to different terminal devices, but the physical sizes of interface elements become different across devices, affecting visual presentation effect
Solution Approach 1:
The patent changes the parameter used for interface element size calculation from proportional relationship based on resolution to virtual pixel size based on dot density. By introducing dot density as a new parameter and using virtual pixel size instead of physical pixel size, the system achieves consistent visual presentation across different terminal devices while maintaining adaptability.
2Adaptability or versatility
If different proportional relationships are used for different resolutions to be adapted, then the interface can be adapted to various screen sizes, but the physical sizes of interface elements vary, leading to inconsistent visual presentation
Solution Approach 1:
The patent introduces virtual pixel size as an intermediary concept between the reference resolution and the actual display resolution. The virtual pixel size serves as a mediator that translates different physical pixel sizes into a unified virtual pixel measurement system, allowing consistent interface element sizing across different screen resolutions while maintaining adaptability.
Solution Approach 2:
The patent changes the sizing parameter from physical pixel size to virtual pixel size, and introduces dot density as a key parameter. This parameter change enables the system to maintain consistent visual presentation by accounting for the relationship between physical pixel size and dot density, rather than relying solely on proportional relationships.
Data Source
AI summary
A method and an apparatus for adjusting an interface layout, and a device, and a storage medium are provided in embodiments of this application. The method includes acquiring a trigger operation for an application to be displayed; and displaying an adapted application interface of the application on the screen in response to the trigger operation, the adapted application interface comprising a plurality of interface elements, and for an interface element interface elements, a first physical size of the interface element presented in the adapted application interface being the same as a second physical size presented in a reference application interface; and the first physical size of the interface element being determined based on an adapted virtual pixel size of the interface element and a dot density, and the adapted virtual pixel size being the same as a reference virtual pixel size of the interface element in the reference application interface.


