I wanted to set the background color of my Navigation drawer in java but it seems as setBackgroundColor and all similar methods have no effect.
Only the XML line android:background="@color/mycolor" is working. If remove the xml line and try one of the methods the drawer just stays transparent.
Any ideas?