How to avoid blocking of scrolling itself when using setNestedScrollingEnabled(false)?

后端 未结 8 1860
盖世英雄少女心
盖世英雄少女心 2020-12-30 01:07

Background

We have quite a complex layout that has CollapsingToolbarLayout in it, together with a RecyclerView at the bottom.

In certain cases, we tempora

8条回答
  •  误落风尘
    2020-12-30 02:14

    inside the recycler view, to scrolling smooth

    android:nestedScrollingEnabled="false" 
    

    to overlap the cardView in the toolbar

     app:behavior_overlapTop = "24dp" 
    

    Try this code for CollapsingToolbar:

      
    
        
    
            
    
                
    
            
        
    
    
        
    
            
    
                
    
            
    
        
    
    
    

    Screenshot

提交回复
热议问题