NestedScrollView 和 CoordinatorLayout 。滚动问题

7 浏览
0 Comments

NestedScrollView 和 CoordinatorLayout 。滚动问题

我在使用CoordinatorLayoutNestedScrollView时遇到了一个奇怪的问题(使用的是设计支持库22.2.0)。

当使用小于NestedScrollView的内容时,我应该有一个固定的内容。

然而,尝试上下滚动内容时,我发现内容被移位,永远不会回到原位。

这是一个小样例:enter image description here

以下是代码:


    
            
    
    
        
        
    
    

0