I was wondering if it's possible to remove the automatic overlay made by the recently implemented Navigation Drawer ? (The grey layer on the second picture)
You just need to set setScrimColor(int color)
to your DrawerLayout
:
mDrawerLayout.setScrimColor(Color.WHITE);
// OR
mDrawerLayout.setScrimColor(Color.TRANSPARENT);
Here is the official documentation from Android API: DrawerLayout - setScrimColor().
Hope this solves your problem! : )
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