Switch has to states on and off. In this video tutorial you will learn how to use switch in android.