Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

“应用内悬浮窗” 应该 更名为 activity 内悬浮窗吧? 请问怎么实现 app 内所有界面悬浮窗呢? #34

Closed
yhaolpz opened this issue Nov 14, 2017 · 4 comments

Comments

@yhaolpz
Copy link

yhaolpz commented Nov 14, 2017

No description provided.

@fanOfDemo
Copy link
Collaborator

退出一个activity的时候销毁之前的,然后使用新的activity重新创建

@yhaolpz
Copy link
Author

yhaolpz commented Nov 27, 2017

@fanOfDemo 这样在切换的时候控件会闪一下

@fanOfDemo
Copy link
Collaborator

闪一下的问题可以通过优化减少布局耗时,耗时短就看不出来了;当然你也可以使用权限使悬浮控件全局出现,通过app进程退出时手挡关闭避免出现在桌面实现(app内)

@Richard0403
Copy link

不知道微信读书里面是怎么实现的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants