I am using the library MaterialDrawer in my android application to create the drawer, but it shows some white after scrolling the drawer.
How may I hide this?
I am using the library MaterialDrawer in my android application to create the drawer, but it shows some white after scrolling the drawer.
How may I hide this?
To remove fading edges include this lines in your xml layout android:fadingEdge="none"
for more details check this link
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);