Try using drawerLayout.setScrimColor(Color.TRANSPARENT);
Don't Dim Main Content When DrawerLayout Is Visible?
-
10-10-2022 - |
سؤال
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?
المحلول
لا تنتمي إلى StackOverflow