找回密码
 立即注册
相关推荐换一批
  1. YD/T 2806-2015 云计算基础设施即服务(laaS)功能要求与架构
  2. YD/T 2374-2011 分组传送网(PTN)总体技术要求
  3. YY 0762-2009 眼科光学囊袋张力环
  4. YD/T 2294-2011 统一 IMS 归属用户服务器(HSS)设备测试方法(第一阶段)
  5. YDB 147-2014 互联网舆情监测与分析系统框架
  6. YDB 076-2012 光传送网(OTN)多业务承载技术要求
  7. YD/T 2812-2015 轻量级 IPv6 过渡技术(LAFT6)设备技术要求
  8. YD/T 2801-2015 内置 OTDR 功能的光收发合一模块
  9. YD/T 2336.2-2016 分组传送网(PTN)网络管理技术要求 第2部分:NMS系统功能
  10. YD/T 1850-2015 2GHz TD-SCDMA 数字蜂窝移动通信网高速上行分组接入(HSUPA)无线接入
  11. YY/T 1665-2019 振动叩击排痰机
  12. HG/T 4109-2009 负离子功能涂料
  13. YD/T 3307-2017 基于 FDN 的存储网络技术要求
  14. YD/T 3306-2017 未来数据网络(FDN)功能体系架构
  15. YD/T 3298-2017 基于 LTE 控制面的定位系统总体技术要求
  16. HG/T 3583-2009 代替 HG/T 3583-1999 活性磷酸钙
  17. YD/T 3083-2016 基于公用通信网络的汽车信息化业务技术要求
  18. YD/T 3054-2016 云资源运维管理功能技术要求
  19. YD/T 2957-2015 具有双栈内容交换功能的以太网交换机技术要求
  20. YD/T 2922-2015 数字蜂窝移动通信网通用认证架构通用自启动架构推送功能及推送层协议
  21. YD/T 2919-2015 演进的移动分组核心网络(EPC)策略和计费执行功能/承载绑定和事件报?
  22. YD/T 2920-2015 演进的移动分组核心网络(EPC)策略和计费执行功能/承载绑定和事件报?
  23. YD/T 2754-2014 同步数字体系(SDH)网元管理功能验证和协议栈检测
  24. GB/T 38633-2020 信息技术 大数据 系统运维和管理功能要求
悬浮floatingfunction功能 | android开发 2022-10-29 120 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