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


open fun setSwitchTextOn(resId: Int)(source)

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