title: How to change menu background of android Navigation Drawer
body: <p>I have created a navigation drawer layout with menu in it. I wanted to change the background but it seems like I can't do that. I've tried solution given here like creating an drawable nav_bg.xml :</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;selector xmlns:android="http://schemas.android.com/apk/res/android"&gt;
      &lt;item android:state_checked="true" android:drawable="@color/black_text"/&gt;
      &lt;item android:state_checked="false" android:drawable="@color/grey_55"/&gt;
  &lt;/selector&gt;
  </code></pre>
  
  <p>and I use this drawable on the NavigationView layout xml :</p>
  
  <pre><code>app:itemBackground = "@drawable/nav_bg.xml"
  </code></pre>
  
  <p>but when I run the apps it just show me the @color/grey_55 color and it isn't changing when i pressed on it.</p>