Unlock instant, AI-driven research and patent intelligence for your innovation.

A kind of mask layout setting method and system

A layout and masking technology, which is applied in the field of masking layer layout setting method and system, can solve the problems of heavy workload, poor scalability, labor and time consumption, etc.

Active Publication Date: 2020-01-03
WUHAN DOUYU NETWORK TECH CO LTD
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The disadvantage is that the scalability is very poor. When the page is changed due to the needs of the product, the mask layer of the page must be changed together, and the corresponding mask layer layout must also be changed
When an application has many layers, changing the layout of all the corresponding layers is quite a lot of work, consuming a lot of manpower and time

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
  • A kind of mask layout setting method and system
  • A kind of mask layout setting method and system
  • A kind of mask layout setting method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] The present invention will be described in further detail below in conjunction with the accompanying drawings and embodiments.

[0031] see figure 1 As shown, the embodiment of the present invention provides a mask layout setting method, including the following steps:

[0032] S101, use the getWindow() function in the page to obtain the PhoneWindow object;

[0033] S102, using the findViewById function in the PhoneWindow object to obtain the object of the adaptation layer layout;

[0034] S103, using the addview function to add the object of the mask layer layout to the object of the adaptation layer layout.

[0035] WindowManager is an important service in Android. The window mechanism of the entire Android system is based on the WindowManager service. The WindowManager service translates the user's operations into instructions and sends each window presented on the interface. PhoneWindow is an encapsulation of WindowManager service, and each page in an android ap...

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 mask layer layout setting method, and relates to the technical field of computer interfaces. The method comprises the following steps of: obtaining an object of a PhoneWindow in a page; obtaining an object of adapted layer layout in the object in the PhoneWindow; and adding an object of mask layer layout in the object of the adapted layer layout by using an addview function. According to the method and system, the object of mask layer layout is added in the object of the adapted layer layout in the object of the PhoneWindow by using the addview function, so that the mask layer layout can be suitable for various types of page layouts. The invention furthermore discloses a mask layer layout setting system.

Description

technical field [0001] The invention relates to the technical field of computer interfaces, in particular to a mask layer layout setting method and system. Background technique [0002] When an application is opened for the first time in the Android system, the application will pop up a mask on some interfaces to guide or instruct the user some key operations in the application, or some hidden user interaction logic, such as instructing the user to press some buttons for a long time operations, or some complex gesture operations. [0003] However, there are multiple pages in each application, and there are also multiple pages that need to display the mask. However, because the layout of each page is different, when setting the mask, a different mask is customized for each different page, and Add the corresponding mask layout in this page layout. The disadvantage is that the scalability is very poor. When the page is changed due to the needs of the product, the mask layer o...

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 Patents(China)
IPC IPC(8): G06F8/38
CPCG06F8/38
Inventor 刘一琛
Owner WUHAN DOUYU NETWORK TECH CO LTD