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

修改了一下,自己设置rootView #3

Closed
RuoYuHoney opened this issue Jun 18, 2019 · 2 comments
Closed

修改了一下,自己设置rootView #3

RuoYuHoney opened this issue Jun 18, 2019 · 2 comments

Comments

@RuoYuHoney
Copy link

public PreventKeyboardBlockUtil setRootView(ViewGroup rootView) {
this.rootView = rootView;
return preventKeyboardBlockUtil;
}

PreventKeyboardBlockUtil.getInstance(activity).setBtnView(view).setRootView(rootView).register()
@RuoYuHoney
Copy link
Author

但是这样一来,虽然toolbar不会被顶上去,但底部的布局上移会遮住toolbar。。。。我再看看。。

@yoyoyaobin
Copy link
Owner

但是这样一来,虽然工具栏不会被顶上去,但底部的布局上移会遮住工具栏....我再看看..

嗯是的,一开始我就是把需要移动的view定义出来接收,后来想想还是算了,因为很少会有移动了部分布局后界面还能美观的。。

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