android – How to make NavigationView not obscure the main screen

Question:

Good afternoon. When the NavigationView is opened, the main screen is dimmed, is there any way to turn off this effect?

Answer:

According to en-SO it should be like this:

mDrawerLayout.setScrimColor(getResources().getColor(android.R.color.transparent));
Scroll to Top