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

4.4系统上与CollapsingToolbarLayout混合使用时,上拉加载更多后,顶部出现空白间距 #14

Open
JaminFan opened this issue Dec 30, 2016 · 3 comments

Comments

@JaminFan
Copy link

你好,我在在4.4系统的机子上使用,使用CollapsingToolbarLayout的模式,上拉加载或者上拉取消加载时,底部回弹后,顶部会出现一个间距。请问出现这样问题应该如何解决

@canyinghao
Copy link
Owner

我试了一下,没遇到你说的问题。你用最新的代码运行再试试。

@JaminFan
Copy link
Author

JaminFan commented Jan 3, 2017

我使用的是最新的代码,出现问题的手机是酷派跟魅族的,不知道是否跟手机有关系。我尝试调试了,发现问题是在CanRefreshLayout文件,childLayout方法里面,getPaddingTop();获取的值不是0,而是50.

@JaminFan
Copy link
Author

JaminFan commented Jan 3, 2017

问题的原因找到了,是设置沉浸式状态栏的代码导致的,4.4系统需要专门做下处理的。感谢回答。

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