I\'ve created a basic custom Switch
, as defined below.
There was a time I was also looking for the same when I needed a toggle button functionality similar to native iOS which can be dragged to on/off for one of my projects. At that time I searched hard and I found this library.
https://github.com/pellucide/Android-Switch-Demo-pre-4.0
So hope this is what you are looking for too.