I want to remove the shadow from the ActionBar
and I read you do this:
getSupportActionBar().setElevation(0)
However this didn't seem to work on Pre 5.0 devices. Is that a bug? I am not using the Toolbar. Just regular ActionBar from the library.
If you are using the ActionBar (not the Toolbar) you should be able to remove the shadow below using this style:
<style name="MyAppTheme" parent="Theme.AppCompat.Light">
<item name="android:windowContentOverlay">@null</item>
</style>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With