0

I am using the library MaterialDrawer in my android application to create the drawer, but it shows some white after scrolling the drawer.

screenshot showing the issue

How may I hide this?

mikepenz
  • 12,708
  • 14
  • 77
  • 117
Amit kumar
  • 1,585
  • 2
  • 16
  • 27

2 Answers2

0

To remove fading edges include this lines in your xml layout android:fadingEdge="none"

for more details check this link

Community
  • 1
  • 1
Sarath Kumar
  • 1,922
  • 3
  • 19
  • 43
0

The shown issue is fixed in the latest version of the library.

If you can't update use the Drawer object to get the reference to the ListView with, getListView() you can then modify this property via

drawer.getListView().setFadingEdgeLength(0);
drawer.getListView().setCacheColorHint(Color.TRANSPARENT);
mikepenz
  • 12,708
  • 14
  • 77
  • 117