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?
question from:https://stackoverflow.com/questions/17092687/set-background-color-of-navigation-drawer