title: How to set state_selected in ripple drawable
body: <p>How to specify <code>android:state_selected</code> inside a <a href="https://developer.android.com/reference/android/graphics/drawable/RippleDrawable.html">RippleDrawable</a></p>
  
  <p>I have following xml for ripple drawable but background color doesn't show up when I set <code>myView.setSelected(true);</code></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;ripple
      xmlns:android="http://schemas.android.com/apk/res/android"
      android:color="#DDDDDD"
      &gt;
  
      &lt;item android:id="@android:id/mask"&gt;
          &lt;shape&gt;
              &lt;solid
                  android:color="@color/black" /&gt;
          &lt;/shape&gt;
      &lt;/item&gt;
  
  
      &lt;item android:state_selected="true"&gt;
          &lt;shape&gt;
              &lt;solid
                  android:color="#EEEEEE" /&gt;
          &lt;/shape&gt;
      &lt;/item&gt;
  
  
      &lt;item&gt;
          &lt;color android:color="#FFFFFF" /&gt;
      &lt;/item&gt;
  
  &lt;/ripple&gt;
  </code></pre>