找回密码
 立即注册
相关推荐换一批
  1. YD/T 1516-2006 IP 智能终端设备技术要求 —— IP 电话终端
  2. YD/T 1393-2005 无线应用协议(WAP)网关设备测试方法
  3. GA/T 852.13-2009 娱乐服务场所治安管理信息规范第13部分:基本功能
  4. GA/T 757-2008 程序功能检验方法
  5. YD/T 1445-2006 No.7 信令与 IP 互通适配层技术要求消息传递部分(MTP)第二级用户适?
  6. YD/T 1492-2006 数字蜂窝移动通信网无线应用协议(WAP)终端技术要求
  7. YD/T 1456.1-2006 900/1800MHz TDMA 数字蜂窝移动通信网业务交换点(SSP)设备测试方?
  8. YD/T 1456.2-2006 900/1800MHz TDMA 数字蜂窝移动通信网业务交换点(SSP)设备测试方?
  9. GY/T 303. 5-2018 智能电视操作系统 第5部分:功能组件接口
  10. YD/T 1242-2002 900/1800MHz TDMA 数字蜂窝移动通信网通用分组无线业务(GPRS)设备测
  11. YD/T 1255-2003 具有路由功能的以太网交换机技术要求
  12. YD/T 1201-2002 智能网能力集 2(CS-2)的业务及基本功能要求
  13. YD/T 1188-2008 接入网技术要求 —— 不对称数字用户线(ADSL/ADSL2+)用户端设备
  14. YY/T 0606.13-2008 组织工程医疗产品 第13部分:细胞自动计数法
  15. YD/T 2007-2009 统一 IMS 的功能体系架构(第一阶段)
  16. YDC 048-2007 电话号码映射(ENUM)总体技术要求
  17. YY/T 0141-1993 医药工业洁净室和洁净区悬浮粒子的测试方法
  18. YDN 029-1997 在 PDH 网络中传送 SDH 单元帧与复接结构以及设备的功能描述
  19. YD/T 2042-2009 IPv6 网络设备安全技术要求 —— 具有路由功能的以太网交换机
  20. YD/T 2043-2009 IPv6 网络设备安全测试方法 —— 具有路由功能的以太网交换机
  21. YD/T 2055-2009 宽带网络接入服务器内容过滤技术要求
  22. YD/T 2051-2009 接入网设备安全测试方法无源光网络(PON)设备
悬浮floatingfunction功能 | android开发 2022-10-29 111 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
不认识有没有童鞋用过QQ的Android版本中的一个高清版本,当你退出QQ的时候,会在你的屏幕上呈现一个QQ图标的悬浮窗,就和PC上的迅雷的悬浮窗口一样,在一切使用的最上层,正本这个功能感觉仍是挺好的。今日就来为大家简单介绍下这个悬浮窗的实现方法吧,不过记住至少仍是给用户做一个隐藏掉这个悬浮窗的功能吧!其实实现原理仍是挺简单的,就是使用WindowManager将你的图标View增加到窗口中,不认识大家认识WindowManager.LayoutParams中有一个type属性不,这里玄机挺大的,找了良久,总算给我试出来有一个TYPE_PHONE可以来实现这个功能的,该类型提供与用户交互,置于一切使用程序上方,但是在状态栏后边。至于其他的类型,大家仍是去找API或许GG吧。
为你的使用增加悬浮窗功能\bin\classes\com\apkstory\activity\TopFloatMain.class
为你的使用增加悬浮窗功能\bin\classes\com\apkstory\service\TopFloatService$1.class
为你的使用增加悬浮窗功能\bin\classes\com\apkstory\service\TopFloatService.class
为你的使用增加悬浮窗功能\bin\classes\com\apkstory\util\MyApplication.class
为你的使用增加悬浮窗功能\bin\classes\com\apkstory\R$attr.class
为你的使用增加悬浮窗功能\bin\classes\com\apkstory\R$drawable.class
为你的使用增加悬浮窗功能\bin\classes\com\apkstory\R$id.class
为你的使用增加悬浮窗功能\bin\classes\com\apkstory\R$layout.class
为你的使用增加悬浮窗功能\bin\classes\com\apkstory\R$string.class
为你的使用增加悬浮窗功能\bin\classes\com\apkstory\R.class
为你的使用增加悬浮窗功能\bin\res\drawable-hdpi\ic_launcher.png
为你的使用增加悬浮窗功能\bin\res\drawable-ldpi\ic_launcher.png
为你的使用增加悬浮窗功能\bin\res\drawable-mdpi\ic_launcher.png
为你的使用增加悬浮窗功能\bin\classes.dex
为你的使用增加悬浮窗功能\bin\resources.ap_
为你的使用增加悬浮窗功能\bin\TopFloat.apk
为你的使用增加悬浮窗功能\gen\com\apkstory\R.java
为你的使用增加悬浮窗功能\res\drawable-hdpi\ic_launcher.png
为你的使用增加悬浮窗功能\res\drawable-ldpi\ic_launcher.png
为你的使用增加悬浮窗功能\res\drawable-mdpi\ic_launcher.png
为你的使用增加悬浮窗功能\res\layout\floating.xml
为你的使用增加悬浮窗功能\res\layout\main.xml
为你的使用增加悬浮窗功能\res\values\strings.xml
为你的使用增加悬浮窗功能\src\com\apkstory\activity\TopFloatMain.java
为你的使用增加悬浮窗功能\src\com\apkstory\service\TopFloatService.java
为你的使用增加悬浮窗功能\src\com\apkstory\util\MyApplication.java
为你的使用增加悬浮窗功能\.classpath
为你的使用增加悬浮窗功能\.project
为你的使用增加悬浮窗功能\AndroidManifest.xml
为你的使用增加悬浮窗功能\proguard.cfg

(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)

[下载]20551078605.rar




上一篇:天天动听 半透明Menu效果
下一篇:Android实现iphone风格的picker