ToggleButtonExample How to create a toggle button in Anroid using simple Button view and two icons that represents an ON and OFF state. Tutorial Link : http://code2care.org/pages/how-to-make-a-android-button-act-as-a-toggle-button/