Method for realizing slidable and clickable switch based on complex environment
A complex environment and switching technology, applied in the input/output process of data processing, instruments, electrical digital data processing, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0020] see Figure 1 to Figure 3 As shown, a method of the present invention based on a complex environment to realize the slideable and clickable switch, the method includes the following steps:
[0021] Step 1, create a switch class SuperButton in a complex environment, obtain the size occupied by the background picture of the switch class SuperButton as the size of a switch view, and draw the switch view on the screen; the step 1 is specifically: create A switch class SuperButton, the switch class SuperButton inherits the parent class View of the switch control, creates the switch object by the construction method, calls the onMeasure (int, int) method to measure the size occupied by the background picture of the switch object as the size of the switch view, and Call the onDraw(canvas) method to draw the switch view to the screen. The complex environment includes: sliding and scrolling view controls, custom controls inherited from the control ViewGroup of the container cla...
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