setSwitchTextOff

Set the text displayed on the switch widget in the off state. This should be a very short string, one word if possible.

Parameters

offText

Text to display in the off state


open fun setSwitchTextOff(resId: Int)(source)

Set the text displayed on the switch widget in the off state. This should be a very short string, one word if possible.

Parameters

resId

The text as a string resource ID