且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

当CollapsingToolbarLayout完全折叠时,为什么NestedScrollView停止滚动?

更新时间:2023-01-05 21:06:27

我认为原因是由于班次的原因,您的最后一个项目不在屏幕上,因此您可以尝试添加:

I think the reason is that your last items are out of the screen, because of shift, so you can try to add:

android:paddingBottom="<your toolbar height in collapsed state>"

到您的NestedScrollView.就我而言,这很有帮助.

to your NestedScrollView. In my case that helped.