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

Android是否可以提供个显示隐藏悬浮窗的方法 #52

Closed
xiandanin opened this issue Feb 14, 2019 · 1 comment
Closed

Android是否可以提供个显示隐藏悬浮窗的方法 #52

xiandanin opened this issue Feb 14, 2019 · 1 comment

Comments

@xiandanin
Copy link
Contributor

希望可以提供手动控制悬浮窗的方法

比如我想默认不显示悬浮窗,当我需要用到DoraemonKit的时候,双击状态栏,再打开悬浮窗

LinJZong added a commit that referenced this issue Feb 14, 2019
LinJZong added a commit that referenced this issue Feb 14, 2019
@xiandanin
Copy link
Contributor Author

xiandanin commented Feb 14, 2019

if (DoraemonKit.isShow()) {
    DoraemonKit.hide();
} else {
    DoraemonKit.show();
}

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

1 participant