Pregunta

When using a DrawerLayout in Android, opening a drawer causes the main content area to be darkened. Is there any way to avoid this so the main content stays equally visible while the drawer is out?

¿Fue útil?

Solución

Try using drawerLayout.setScrimColor(Color.TRANSPARENT);

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top