文件名称:FloatViewDemo
介绍说明--下载内容均来自于网络,请自行研究使用
调用WindowManager,并设置WindowManager.LayoutParams的相关属性,通过WindowManager的addView方法创建View,这样产生出来的View根据WindowManager.LayoutParams属性不同,效果也就不同了。比如创建系统顶级窗口,实现悬浮窗口效果!-Call WindowManager, and set of associated attributes WindowManager.LayoutParams created by WindowManager View the addView method View arising out of such property in accordance with WindowManager.LayoutParams different, the effect will be different. For example, to create a system of top-level window to achieve the effect of suspending the window!
(系统自动生成,下载前可以参看下载内容)
下载文件列表
FloatViewDemo\.classpath
.............\.project
.............\AndroidManifest.xml
.............\assets
.............\bin\classes.dex
.............\...\FloatViewDemo.apk
.............\...\net\xsmile\fv\MyApplication.class
.............\...\...\......\..\MyFloatView.class
.............\...\...\......\..\MyFloatViewActivity.class
.............\...\...\......\..\R$attr.class
.............\...\...\......\..\R$drawable.class
.............\...\...\......\..\R$layout.class
.............\...\...\......\..\R$string.class
.............\...\...\......\..\R.class
.............\...\...\......\fv
.............\...\...\xsmile
.............\...\net
.............\...\resources.ap_
.............\bin
.............\default.properties
.............\gen\net\xsmile\fv\R.java
.............\...\...\......\fv
.............\...\...\xsmile
.............\...\net
.............\gen
.............\proguard.cfg
.............\res\drawable-hdpi\icon.png
.............\...\drawable-hdpi
.............\...\.........ldpi\icon.png
.............\...\drawable-ldpi
.............\...\.........mdpi\icon.png
.............\...\drawable-mdpi
.............\...\layout\main.xml
.............\...\layout
.............\...\values\strings.xml
.............\...\values
.............\res
.............\src\net\xsmile\fv\MyApplication.java
.............\...\...\......\..\MyFloatView.java
.............\...\...\......\..\MyFloatViewActivity.java
.............\...\...\......\fv
.............\...\...\xsmile
.............\...\net
.............\src
FloatViewDemo