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
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
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);