A method for locating desktop lyrics after moving
It is a technology of mobile lyrics, which is applied in the direction of user interface execution, data processing input/output process, instruments, etc. It can solve the problems of incomplete display of lyrics, inaccurate position, and incorrect text color, etc., to achieve accurate presentation interface and user-friendly Experience good and responsive effects
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0053] The present invention will be described in further detail below in conjunction with the accompanying drawings.
[0054] Such as figure 1 As shown, the method for locating after the desktop lyrics of the present invention moves comprises the following steps:
[0055] Step 1, create the desktop lyrics control DeskLyricView, inherit the basic control TextView,
[0056] The basic control TextView is provided by the Android sdk. TextView itself is used to display fonts and set font size and color. After inheriting TextView, you can use the API provided by it to conveniently set and display fonts;
[0057] Step 2, set the timer timer, inherit the Timer timer class provided by the Android system, and refresh the lyrics once every 50 milliseconds by default;
[0058] Step 3, obtain the preset font size and font color;
[0059] Step 4, define brush, described brush includes:
[0060] The front brush setFrontPaint is used to draw the color and font size of the normal lyrics, ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 
