Android Toggle Button is used to set the button as checked or unchecked. We can set this toggle button to Yes or No also. We can change the toggle button text when the stage changes. We can set text for both On stage (ex: - “YES”) & Off stage (ex: - “NO”).
Default Text of ON Stage is "ON" & OFF Stage is "OFF".