(First of all, take the example of Tiantianyue to explain, that is, take Tiantianyue's floating lyrics to explain how to achieve floating lyrics. Now let's dissect this function. I think there are three main difficulties: 1. Lyrics are suspended on all pages. 2. Lyrics can be dragged. 3. Lyrics play role (color coverage). The first thing I think about is WindowManager. This class may have been used by many people. Generally, it is about obtaining screen width and height. So this time we should use this class to make everyone's lyrics permanent.
Floating Lyrics . Settings org.eclipse.core.resources.refs
Floating Lyrics bin com yfz view MyTextView $1.class
Floating Lyrics bin com yfz view MyTextView.class
Floating Lyrics bin com yfz R $attr.class
Floating Lyrics bin com yfz R $drawable.class
Floating Lyrics bin com yfz R $id.class
Floating Lyrics bin com yfz R $layout. class
Floating Lyrics bin com yfz R $string.class
Floating Lyrics bin com yfz R.class
Floating Lyrics bin com yfz TopFrame $1.class
Floating Lyrics bin com yfz TopFrame.class
Floating Lyrics bin classs.dex
Floating Lyrics bin resources.ap_
Floating Lyrics bin TopFrame.apk
Floating Lyrics gen com yfz R.java
Floating Lyrics res drawable hdpi icon.png
Floating Lyrics res drawable ldpi icon.png
Floating Lyrics res drawable mdpi icon.png
Floating Lyrics res layout main.xml
Floating Lyrics res values strings.xml
Floating Lyrics src com yfz view MyTextView.java
Floating Lyrics src com yfz TopFrame.java
Floating Lyrics . classpath
Floating Lyrics . Project
Floating Lyrics AndroidManifest.xml
Floating Lyrics default.properties
.....)