title: How to have a Lollipop switch button
body: <p>I want to have the Lollipop style switch button for my app:</p>
  
  <p><img src="https://i.stack.imgur.com/kXXh8.png" alt="enter image description here"></p>
  
  <p>How could I implement this button so it looks like this also on older versions of android?</p>