http://www.oschina.net/question/157182_37944http://www.oschina.net/code/snippet_157182_8608首先,一个按钮要实现悬浮,就要用到系统顶级窗口相关的WindowManager,WindowManager.LayoutParams。那么在AndroidManifest.xml中添加权限:然后,我们要对WindowManager,WindowManager.LayoutParams的相关属性进行下设置:private WindowManager wm=null;private WindowManager.Layo Read More