Source Code: / clientuser_net
I show you how to add a switch to your activity layout using the xml layout file. I also show you what accompanying entries and preparations you need to make in your activity class to refer to your new android button switch.