Popup window configuration method and device

A configuration method and a configuration device technology, applied in the direction of program control device, user interface execution, etc., can solve the problem that the pop-up interface cannot be personalized, achieve personalized display, improve efficiency and accuracy, and avoid the generation of invalid objects Effect

Inactive Publication Date: 2017-05-10
LETV HLDG BEIJING CO LTD +1
View PDF5 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In view of this, the embodiments of the present invention provide a pop-up window configuration method and device, which can solve the technical problem that the pop-up window interface cannot be personalized according to user needs

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
  • Popup window configuration method and device
  • Popup window configuration method and device
  • Popup window configuration method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0023] figure 1 It shows a flow chart of the pop-up window configuration method in Embodiment 1 of the present invention, which includes:

[0024] S110, create a layout file, the layout file includes display elements and parameters used to describe the pop-up window;

[0025] The format of the layout file usually uses the xml format. For example, in the Android system, activity_main.xml, AndroidManifest.xml, etc. are used. The layout file includes various display elements of various pop-up windows, as well as parameters representing the display elements. By adjusting the parameters of the display elements, the display color, position, size, etc. of the display elements can be adjusted.

[0026] S120, receiving user modification of the display element and its parameters, and generating an object;

[0027] Users can add display elements in the layout file, and the display elements include: title, subtitle, list, button, check box, etc. Adding display elements can be called w...

Embodiment 2

[0032] figure 2 It shows a flow chart of the pop-up window configuration method in Embodiment 2 of the present invention, which includes:

[0033] S200, create a layout file, the layout file includes display elements and parameters used to describe the pop-up window;

[0034] For example, button 1 and button 2 of the layout file, the parameters of button 1 and button 2 include width, height, display position, spacing between buttons, button arrangement (horizontal arrangement or vertical arrangement), etc.

[0035] S201. Receive user modification of the display element and its parameters, and generate an object;

[0036] Specifically include:

[0037] (1) Parsing the layout file;

[0038] Parse layout files into high-level languages, such as Java, C, C++, C#, etc.

[0039] (2) Receive the user's modification of the display elements and their parameters in the parsed layout file, and generate an object.

[0040] After parsing the layout file into code, the user modifies t...

Embodiment 3

[0062] image 3 It is the structural block diagram 300 of the pop-up window configuration device provided in the third implementation of the present invention, which includes:

[0063] The creation module 310 is used to create a layout file, and the layout file includes display elements and parameters thereof for describing pop-up windows;

[0064] Generate an object module 320, configured to receive the modification of the display element and its parameters by the user, and generate an object;

[0065] The running display module 330 is configured to run the object and display a pop-up window.

[0066] The pop-up window configuration device provided by Embodiment 3 of the present invention establishes a layout file through the creation module, uses the object generation module to receive the user’s modification of the display elements of the pop-up window according to his own preferences, and runs the object by running the display module to display the pop-up window, which ca...

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

Embodiments of the invention disclose a popup window configuration method. The method comprises the following steps of: creating a layout file, wherein the layout file comprises display elements for describing a popup window and parameters of the display elements; receiving modification carried out on the display elements and the parameters thereof by a user so as to generate an object; and running the object and displaying the popup window. The embodiments of the invention furthermore disclose a popup window configuration device. The device comprises a creation module, an object generation module and a running display module, wherein the creation module is used for creating the layout file and the layout file comprises the display elements for describing the popup window and the parameters of the display elements; the object generation module is used for receiving the modification carried out on the display elements and the parameters thereof by the user so as to generate the object; and the running display module is used for running the object and displaying the popup window. According to the embodiments of the invention, the display elements can be added or modified according to user requirements, so that the diversified and individualized setting of functions are realized so that different user requirements are satisfied.

Description

technical field [0001] Embodiments of the present invention relate to the technical field of smart devices, and in particular to a pop-up window configuration method and device. Background technique [0002] At present, when a user is using a mobile smart terminal such as a mobile phone, when an operation is triggered, a pop-up window will pop up on the screen of the mobile phone to perform the corresponding operation. In the process of realizing the present invention, the inventor found that after the configuration of the pop-up window, the display content has been fixed, and the display elements and their parameters cannot be modified, nor can display elements be added, so that the function of the pop-up window display cannot satisfy users well. needs, and cannot realize personalized settings. Contents of the invention [0003] In view of this, embodiments of the present invention provide a pop-up window configuration method and device, which can solve the technical pro...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/44
CPCG06F9/451
Inventor 郑子天
Owner LETV HLDG BEIJING CO LTD
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