Proto.io, a mobile prototyping service, has created a handy generator for quickly creating on/off flipswitches.
The switches are built with pure CSS3 and it is possible to customize the look completely.
It also comes with pre-defined styles for iOS4, iOS5 and Android as well.
P.S. In order to add functionality to such a control, it would be a good idea to listen to the "state" of the switch and add our custom events accordingly.
Powered By WizardRSS.com | Full Text RSS Feed | Amazon Plugin Wordpress | Android Forums | Wordpress Tutorials