Using windowTranslucentStatus with CollapsingToolbarLayout

前端 未结 7 1628
南旧
南旧 2020-12-14 06:09

I\'m trying to get a similar effect to what is seen on google play.

I\'ve got the below layout to show a transparent toolbar with an image behind it. When the user s

7条回答
  •  没有蜡笔的小新
    2020-12-14 07:08

    Add fitsSystemWindows to layout and set to true.

    Update

    Sorry for my incomplete answer. You should add fitsSystemWindows="true" to layout xml like below codes.

    
    
        
    
        
    
            
    
                
    
                
    
            
    
        
    
    
    

提交回复
热议问题