A switch is a two state toggle switch widget that can select between two options. The user may drag the thumb back and forth to choose the selected option, or simply tap to toggle as if it were a checkbox.
Source code:
avandrewmaterials.blogspot.in/2017/02/android-switch-button-tutorial.html
On this page of the site you can watch the video online Android SwitchButton Tutorial with a duration of hours minute second in good quality, which was uploaded by the user varsha@v 23 February 2017, share the link with friends and acquaintances, this video has already been watched 74 times on youtube and it was liked by 0 viewers. Enjoy your viewing!