Screen adaptive display method, electronic device and computer storage medium
A screen and technology to be displayed, which is applied in the computer field, can solve the problems of reducing the aesthetics of the page display, the user experience, the inability to adapt the page layout template, and affecting the effective display of page information, etc., to achieve the effect of improving effectiveness
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0023] figure 1 A flow chart of a screen adaptation display method provided in Embodiment 1 of the present invention is shown, which is used to adjust the page layout to adapt to the screen display. Such as figure 1 As shown, the method includes the following steps:
[0024] Step S101, acquiring a preset layout template of a page to be displayed on the current screen.
[0025] In a specific embodiment of the present invention, the current screen refers to the screen on which the electronic device held by the user performs page display. The attribute information of the current screen can be obtained through the system interface of the electronic device. Wherein, the attribute information of the current screen may include aspect ratio information such as screen resolution and screen ratio.
[0026] In this embodiment, the page to be displayed refers to a page that is about to be displayed on the screen of the electronic device but has not yet been displayed. The page to be ...
Embodiment 2
[0045] image 3 A flow chart of a screen adaptation display method provided by Embodiment 2 of the present invention is shown, and this embodiment is applied to a scene where a page layout is adjusted to adapt to a screen display. Wherein, the adjusting the page layout of the page to be displayed according to the screen aspect ratio, the standard aspect ratio, and the number of interface elements included in the preset layout template includes: The horizontal resolution of the standard resolution, determine the difference between the screen resolution of the current screen and the vertical resolution of the standard resolution; determine the page to be displayed according to the preset layout template and the number of interface elements The number of vertical intervals between the various interface elements; adjusting the page layout of the page to be displayed according to the vertical resolution difference and the number of vertical intervals. Such as image 3 As shown, t...
Embodiment 3
[0076] Figure 8 A flow chart of a screen adaptation display method provided by Embodiment 3 of the present invention is shown, and this embodiment is applied to adjusting the page layout to adapt to the screen display. Such as Figure 8 As shown, the method includes the following steps:
[0077] Step S801, acquiring a preset layout template of a page to be displayed on the current screen.
[0078] Step S802, detecting whether the screen aspect ratio of the current screen is consistent with the standard aspect ratio of the preset layout template.
[0079] Step S803, if the aspect ratio of the screen is consistent with the standard aspect ratio, determine the full-screen zoom ratio between the screen resolution of the current screen and the standard resolution.
[0080] In a specific embodiment of the present invention, since the screen aspect ratio of the current screen is consistent with the standard aspect ratio, the preset layout template can be adapted to the current sc...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com