How to get rid of the shadow between AppBarLayout and TabLayout?

前端 未结 4 1375
粉色の甜心
粉色の甜心 2021-01-28 05:20

I have a layout for a fragment with three tabs. The XML code of the layout is as follows:




        
4条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-28 05:38

    If android:elevation didn't work then try app:elevation:

    
    

    Try with CoordinatorLayout instead of Constraintlayout.

    
    
    
    
        
    
            
    
                
    
                
    
                
    
            
        
    
        
    
    
    
    

提交回复
热议问题