title: Lollipop RippleDrawable vs Selector for Pre-Lollipop
body: <p>I have buttons with different draw9patch <code>png</code> as background. Currently the buttons are controlled by <code>selector</code> which look something like this:</p>
  
  <pre><code>&lt;selector xmlns:android="http://schemas.android.com/apk/res/android"&gt;
    &lt;item android:drawable="@drawable/pressed" android:state_pressed="true"/&gt;
    &lt;item android:drawable="@drawable/disabled" android:state_enabled="false"/&gt;
    &lt;item android:drawable="@drawable/focused" android:state_focused="true"/&gt;
    &lt;item android:drawable="@drawable/default"/&gt;
  &lt;/selector&gt;
  </code></pre>
  
  <p>For the <strong>Android Lollipop</strong> they have a <code>RippleDrawable</code> for the touch effect, which goes something like this:</p>
  
  <pre><code>&lt;ripple xmlns:android="http://schemas.android.com/apk/res/android" android:color="?android:colorControlHighlight"&gt;
      &lt;item&gt;
      ...
      &lt;/item&gt;
  &lt;/ripple&gt;
  </code></pre>
  
  <p>Regarding the new touch ripple effect:</p>
  
  <p><strong>1:</strong> Can I set draw9patch as background for <code>RippleDrawable</code>?</p>
  
  <p><strong>2:</strong> How do I accomodate the above two different xml's I want to follow Material design? Do I have to fork out a new folder/layout xml for the new <code>RippleDrawable</code>?</p>