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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
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