title: Android Button Ripple on Lollipop and highlight on pre lollipop
body: <p>Hi so I am little confused and wondering if anyone could point me in the right direction.</p>
  
  <p>Go and use Google Play Store on Lollipop and pre-lollipop </p>
  
  <p>You will see on lollipop that selectable views have the ripple effect.</p>
  
  <p>On pre-lollipo, you get this highlight effect.</p>
  
  <p>How is this done?</p>
  
  <p>At the moment in my app, I have a drawable-v21 directory that contains this selector</p>
  
  <p>It basically does the ripple on top of my background</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="?android:colorControlHighlight"&gt;
      &lt;item android:id="@android:id/mask" android:drawable="@android:color/white"/&gt;
      &lt;item android:drawable="@color/colorAccentWith92PercentOpacity"/&gt;
  &lt;/ripple&gt;
  </code></pre>
  
  <p>However, other answers say to use </p>
  
  <blockquote>
    <p>android:background="?attr/selectableItemBackground"</p>
  </blockquote>
  
  <p>To get the highlight effect on pre-lollipop but this overrides my background. How could i set this on top of my current background?</p>
  
  <p>Also do i have to create a ripple drawable (in drawble-v21) for every kind of button in my app? How would I do this for recycler view items?</p>
  
  <p><strong>What makes this question unique</strong></p>
  
  <p>I do not want ripple for pre-lollipop I am asking how devs efficiently make their button do ripple on lollipop and a hight light effect on pre</p>