http://code2care.org/pages/how-to-make-a-android-button-act-as-a-toggle-button/