0

Picture Example

I've tried to add this prefix and also added it to the AppBarLayout, but it doesn't work.

<item name="android:elevation">0dp</item>

Any help is appreciated, Thanks

swess
  • 171
  • 19

1 Answers1

0

Try something like in your style

<item name="android:windowContentOverlay">@null</item>

Check this Remove shadow below actionbar

On Android 5.0 this has changed, you have to call setElevation(0) on your action bar. Note that if you're using the support library you must call it to that like so:

getSupportActionBar().setElevation(0);
Community
  • 1
  • 1
Amit Vaghela
  • 22,772
  • 22
  • 86
  • 142