문제

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?

도움이 되었습니까?

해결책

Try using drawerLayout.setScrimColor(Color.TRANSPARENT);

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top