I cannot remove elevation (shadow) of NavigationView for Lollipop and higher versions.
I added mDrawerLayout.setScrimColor(Color.TRANSPARENT); to my DrawerLayout, but it affects on pre-Lollipop versions. I also tried to add app:elevation="0dp" and android:elevation="0dp" to my NavigationView but unsuccessful.

I need to get the result of android 4 on android 6.
I have found the solution:
mDrawerLayout.setDrawerElevation(0);

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