Android UI Components: ToggleButton and Switch Implementation Guide
Core Attributes ToggleButton The ToggleButton widget provides a straightforward two-state interface. Key configurable properties include: android:disabledAlpha: Controls the opacity level when the widget is in a disabled state. android:textOn: Defines the label displayed when the control is activate...