Comments (3)
项目有使用到svga动画,需要在不同页面之前跳转,但又不能影响动画播放,要保证它的连续性,在不使用悬浮窗的情况下,这个方案支持吗?
不使用悬浮窗时,不会影响你的业务代码;如果说你想实现的是悬浮窗正在进行某个动画,此时切换页面,需要保证动画连续性。这个也是不影响,因为对于App级悬浮窗而言,view是单例持有,因为view不会销毁,所以动画其实依然在进行,不过在页面切换时没有插入到相应的activity里展示,页面切换完成后,会及时插入,此时如果悬浮窗动画没结束,依然能看到过程,这个过程因为很快,所以并不突兀。
from floatingx.
确实是可以的,虽然还会有一点闪烁的感觉。
from floatingx.
确实是可以的,同时会有一点发光的感觉。
闪烁这个无法避免,这是因为插入时机是onResume,采用的是监听activity生命周期,所以会有这种情况。
from floatingx.
Related Issues (20)
- 初始化位置不生效 HOT 2
- 全局悬浮窗内嵌 Rv,在当前 Activity 上方无法显示 HOT 6
- 触摸透传 HOT 4
- java.lang.IllegalArgumentException HOT 5
- 有没有考虑增加半隐藏功能? HOT 2
- 有没有考虑用 Java 17 来编译 HOT 2
- 找不到可以吸附上下方的方法,每次都是吸附左右 HOT 2
- 建议把包发布到 MavenCentral HOT 3
- 如何更新视图数据
- 当使用viewpager+fragment,其中一个fragment为h5页面,悬浮窗与veiewpager的滑动会冲突 HOT 3
- 是否可以在锁屏界面上显示悬浮窗? HOT 2
- show方法没了? HOT 3
- 发现一个bug HOT 3
- 多进程页面失效 HOT 3
- 悬浮窗布局中如果设置了布局中View的点击事件,当点击某个View后拖动悬浮窗会出现跳动 HOT 4
- 希望能开放查询所有显示的浮窗的接口 HOT 7
- 可以局部在ConstraintLayout 展示吗? HOT 3
- FxLocationHelper 中有个错误 HOT 1
- 全局浮窗内用recyclerView无法滑动 HOT 1
- 全局浮窗内用recyclerView无法滑动 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from floatingx.