Home > Tag Archives: android togglebutton

Tag Archives: android togglebutton

Android Widget – ToggleButton

android

In Android, the “android.widget.ToggleButton” is a special class to render a button which has only two states, for example,“on” and “off”. It’s best alternative to radio buttons to turn on or turn off a function. In this tutorial, we show you how to use XML to create two toggle buttons and a normal button, when user click on the normal ... Read More »