I have a navigation drawer like this image. I want to add a section separator (like the line separating Neptune). It seems simple but I can\'t find anything on the web that
You have two choices
To help you with some sample code, can you please post all the items you need in your menu ? We need to know exactly what will be static and what will be scrollable.
Edit: If you want that working with the exemple, get rid of the line
mDrawerList.setAdapter(new ArrayAdapter(this, ...)
You need to supply a home made adapter like this: https://github.com/codepath/android_guides/wiki/Using-an-ArrayAdapter-with-ListView
As i said in 2, in your adapter, you will have logic, and thus you can say in the getView() method
if(myPlanet.isNeptune())
holder.mSepatator.setVisibility(View.VISIBLE);
else
holder.mSepatator.setVisibility(View.GONE);