找回密码
 立即注册
相关推荐换一批
  1. YD/T 2957-2015 具有双栈内容交换功能的以太网交换机技术要求
  2. YD/T 2922-2015 数字蜂窝移动通信网通用认证架构通用自启动架构推送功能及推送层协议
  3. YD/T 2919-2015 演进的移动分组核心网络(EPC)策略和计费执行功能/承载绑定和事件报?
  4. YD/T 2920-2015 演进的移动分组核心网络(EPC)策略和计费执行功能/承载绑定和事件报?
  5. YD/T 2754-2014 同步数字体系(SDH)网元管理功能验证和协议栈检测
  6. GB/T 38633-2020 信息技术 大数据 系统运维和管理功能要求
  7. DL/T 1771-2017 比率差动保护功能技术规范
  8. DL/T 1398.2-2014  智能家居系统 第2部分:功能规范
  9. DL/T 814-2002 配电自动化系统功能规范
  10. DL/T 1491-2015 智能电能表信息交换安全认证技术规范
  11. DL/T 1490-2015 智能电能表功能规范
  12. GB/T 35031.7-2019 用户端能源管理系统 第7部分:功能分类和系统分级
  13. GB∕T 12363-2021 锻件功能分类
  14. GB∕T 33376-2016 光学功能薄膜术语及其定义
  15. GB/T 26863-2011 火电站监控系统术语
  16. NB/T 20027-2010 核电厂主控制室报警功能与显示
  17. YD/T 2016.1-2009 IPTV运维支撑管理接口技术要求 第1部分:业务系统
  18. YD/T 2007-2009 统一IMS的功能体系架构(第一阶段)
  19. 06SX503 安全防范系统设计与安装
  20. YD/T 1445-2006 No.7信令与IP互通话配层技术要求 消息传递部分(MTP)第二级用户适配?
  21. YD/T 1793-2008 2GHz WCDMA数字蜂窝移动通信网网络管理技术要求 网元管理系统(EMS)?
  22. YDN 029-1997 在PDH网络中传送SDH单--帧与复接结构以及设备的功能描述(暂行规定)
  23. CJ/T 52-1999 城市污水 悬浮固体的测定 重量法
  24. GB/T 3976-1983 学校课桌椅功能尺寸
悬浮floatingfunction功能 | android开发 2022-10-29 138 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