how to remove shadow below actionbar with AppCompat.Light.NoActionBar?

后端 未结 10 1318
盖世英雄少女心
盖世英雄少女心 2020-12-03 00:35

I tried to remove the shadow below the toolbar with the Theme.AppCompat.Light.NoActionBar, using every recommendation of people who have ever answer it before, but no one wo

10条回答
  •  难免孤独
    2020-12-03 01:25

    I had the same problem.

    If your Toolbar is inside android.support.design.widget.AppBarLayout Adding app:elevation="0dp" on android.support.design.widget.AppBarLayoutwill solve your problem.

    Else add app:elevation="0dp" on Toolbar.

    
    
    
    

    Hope it helps :)

提交回复
热议问题