You can use the setScrimColor(int color) method. The default color is 0x99000000 . Therefore, if you do not need a faded background, set the color to transparent in this method.
mDrawerLayout.setScrimColor(getResources().getColor(android.R.color.transparent));
koso Sep 30 '13 at 16:29 2013-09-30 16:29
source share