Self-adaption display method and configuration file generating method and device

A technology of configuration files and display methods, which is applied in the direction of program control devices, instruments, electrical digital data processing, etc., and can solve the problems of increasing application code compilation and maintenance pressure

Active Publication Date: 2014-04-23
广州方硅信息技术有限公司
View PDF6 Cites 49 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In order to solve the problem in the background technology of greatly increasing the pressure on application program code compilation and maintenance in

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Self-adaption display method and configuration file generating method and device
  • Self-adaption display method and configuration file generating method and device
  • Self-adaption display method and configuration file generating method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0140] In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0141] The inventor found that the layout elements in the display interface of the application program can be divided into two types, one is the non-text layout including controls and blank areas, and the other is the text layout including text. The self-adaptive display scheme provided by the embodiment of the present invention can enable the self-adaptive display of the application program on electronic devices with different screens efficiently and conveniently by adding a configuration file to the installation package of the application program. Among them, the function of the configuration file is to dynamically scale the layout elements in the display interface of the application program developed by taking the standard device as ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a self-adaption display method, a configuration file generating method and a configuration file generating device and belongs to the technical field of display. The self-adaption display method includes that acquiring the display resolution and layout size of the current device, selecting the layout configuration file corresponding to the display resolution, determining the actual pixel size of the non-character type layout element in the display interface according to the layout configuration file, selecting the character configuration file corresponding to the layout size, determining the actual character size of the character type layout element in the display interface according to the character configuration file, and displaying the display interface according to the actual pixel size and the actual character size. The self-adaption display method, the configuration file generating method and the configuration file generating device solve the problem of the background technology that the pressure generated by the code compiling and maintaining of application program is increased greatly to match with different types of screens, realize to dynamically select the configuration file according to the display resolution and layout size of the adapter device, realize the self-adaption display for each layout element, and reduce the pressure on the application program developing cost.

Description

technical field [0001] The invention relates to the field of display technology, in particular to an adaptive display method, a configuration file generation method and a device. Background technique [0002] For electronic devices such as mobile phones, tablet computers, and smart TVs, screen sizes and display resolutions of different types of electronic devices are basically different. Taking the screen size of a tablet computer as an example, the screen size of a tablet computer on the market includes 6 inches, 7 inches, 8 inches, 10 inches and 12 inches and so on. Furthermore, even tablet computers with the same screen size may have different display resolutions. Adapting to such a variety of screens has always been a challenge for an app. [0003] In order to solve the above problems, developers usually modularize the display interface, and then load different numbers of modules on different screens through code implementation. Assuming that only the difference in sc...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F3/0484G06F9/44
Inventor 柳杰
Owner 广州方硅信息技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products