(I don't know whether children's shoes have ever used a high-definition version of the Android version of QQ. When you exit QQ, a floating window with QQ icon will appear on your screen, just like the Xunlei floating window on the PC. At the top of all uses, the original function is still very good. Let's briefly introduce the implementation method of this floating window for you today, but remember that at least it is still a function for users to hide this floating window! In fact, the implementation principle is still quite simple. It is to use WindowManager to add your icon View to the window There is a type attribute in LayoutParams. There is a big mystery here. After looking for it for a long time, I finally found a TYPE for me_ PHONE can realize this function. This type provides interaction with users and is placed above all user programs, but behind the status bar. As for other types, you should go to API or GG.
Add the floating window function for your use bin classes com apkstory activity TopFloatMain.class
Add the floating window function for your use bin classes com apkstory service TopFloatService $1.class
Add the floating window function for your use bin classes com apkstory service TopFloatService.class
Add the floating window function for your use bin classes com apkstory util MyApplication.class
Add the floating window function for your use bin classes com apkstory R $attr.class
Add the floating window function for your use bin classes com apkstory R $drawable.class
Add the floating window function for your use bin classes com apkstory R $id.class
Add the floating window function for your use bin classes com apkstory R $layout. class
Add the floating window function for your use bin classes com apkstory R $string.class
Add the floating window function for your use bin classes com apkstory R.class
Add the floating window function for your use bin res drawable hdpi ic_ launcher.png
Add the floating window function for your use bin res drawable ldpi ic_ launcher.png
Add the floating window function for your use bin res drawable mdpi ic_ launcher.png
Add the floating window function for your use bin classs.dex
Add the floating window function for your use bin resources.ap_
Add floating window function for your use bin TopFloat.apk
Add floating window function for your use gen com apkstory R.java
Add floating window function for your use res drawable hdpi ic_ launcher.png
Add floating window function for your use res drawable ldpi ic_ launcher.png
Add the floating window function for your use res drawable mdpi ic_ launcher.png
Add the floating window function for your use res layout floating. xml
Add the floating window function for your use res layout main.xml
Add floating window function for your use res values strings.xml
Add floating window function for your use src com apkstory activity TopFloatMain.java
Add the floating window function for your use src com apkstory service TopFloatService.java
Add the floating window function for your use src com apkstory util MyApplication.java
Add floating window function for your use . classpath
Add floating window function for your use . Project
Add the floating window function for your use AndroidManifest.xml
Add the floating window function for your use proguard.cfg)