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

能否添加透过系统悬浮窗点击浮窗下面的按钮API #9

Closed
fengzhous opened this issue Sep 3, 2019 · 1 comment
Closed

Comments

@fengzhous
Copy link

希望能提供动态修改WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE | WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE;
这样的API。
因为有的浮窗只是展示用,不需要按钮点击。希望能透过浮窗直接点击或滚动浮窗下面的按钮或界面,浮窗不占用浮窗区域的焦点。

@princekin-f
Copy link
Owner

  • 可以在FloatConfig加一条配置,把WindowManager.LayoutParams传过去;
  • 目前你先自己处理一下,后续版本看情况考虑是否添加。

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

2 participants