setSwitchTextOn
Set the text displayed on the switch widget in the on state. This should be a very short string, one word if possible.
Parameters
onText
Text to display in the on state
Set the text displayed on the switch widget in the on state. This should be a very short string, one word if possible.
Parameters
resId
The text as a string resource ID