feiyuu / Floatingview
安卓android轻量高性能全局悬浮窗,gif动图,圆形阴影,全局显示,保存位置,吸附贴边,小米魅族华为等适配所有机型,无需开启悬浮权限
Stars: ✭ 244
Programming Languages
java
68154 projects - #9 most used programming language
FloatingView
博客:https://blog.csdn.net/m0_38058826/article/details/103993392
高性能,任何机型都无需适配
支持加载圆形图片,gif动图,圆形阴影,全局显示,记录位置,平滑的吸附贴边,支持播放raw下文件
无需权限,小米魅族华为不需适配机型,代码少,性能比悬浮窗高很多。
1.0.4:优化了整体
1.0.5:贴边计算优化,角落有一部分区域异常等
1.0.6:去掉了所有依赖,防止引入冲突
1.0.7:存储位置方式优化降低消耗,等细节
1.0.8:解决部分华为手机异常,优化性能,增加针对变态操作的健壮性加强
图片示例
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
dependencies {
implementation 'com.github.feiyuu:FloatingView:1.0.6'
}
没有考虑封装,要用的哥们下源码结合自己项目封装下吧
感谢:
https://github.com/feiyuu/GifView
https://github.com/feiyuu/UVideoPlayer
没错都是我自己
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].