Android ToggleButton |Android App Development With AndroidCource

Thursday 14 September 2017

Android ToggleButton

ToggleButton


A ToggleButton displays checked/unchecked states as a button.

It is basically an on/off button with a light indicator.

ToggleButton Attributes

android:textOn

This is the text for the button when it is checked.

android:textOff

This is the text for the button when it is not checked.

android:text

This is the Text to display.

0 comments:

Post a Comment