SwipeRefreshLayout with NestedScrollView and LinearLayout

后端 未结 5 2051
迷失自我
迷失自我 2021-02-01 16:58


        
5条回答
  •  一向
    一向 (楼主)
    2021-02-01 17:29

    app:layout_behavior should be added to the direct child of CoordinatorLayout.

    So you should move app:layout_behavior="@string/appbar_scrolling_view_behavior" from NestedScrollView to SwipeRefreshLayout.

    
    
        
            ...
        
    
        
    
            
                ...
            
    
        
    
    
    

提交回复
热议问题