title: how to add a rounded rectangular toggle_switch in android?
body: <p>I need to make a rounded rectangular toggle_switch in android  like the one given below:</p>
  
  <p><img src="https://i.stack.imgur.com/nuRr1.png" alt="enter image description here"></p>
  
  <p>Can anyone guide me the complete steps to do so.</p>