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

前端 未结 4 1365
粉色の甜心
粉色の甜心 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条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-28 05:31

    Use app:elevation="0dp" in your AppBarLayout

    
    

    or Use getSupportActionBar().setElevation(0); in your actvity

提交回复
热议问题