- setColorBorder(int) - Method in class com.github.angads25.toggle.widget.LabeledSwitch
-
Changes the color value for Switch disabled state.
- setColorDisabled(int) - Method in class com.github.angads25.toggle.widget.LabeledSwitch
-
Changes the color value for Switch disabled state.
- setColorOff(int) - Method in class com.github.angads25.toggle.widget.LabeledSwitch
-
Changes the off color value of this Switch.
- setColorOn(int) - Method in class com.github.angads25.toggle.widget.LabeledSwitch
-
Changes the on color value of this Switch.
- setEnabled(boolean) - Method in class com.github.angads25.toggle.model.ToggleableView
-
Set the enabled state of this switch.
- setLabelOff(String) - Method in class com.github.angads25.toggle.widget.LabeledSwitch
-
Changes text label when switch is in off state.
- setLabelOn(String) - Method in class com.github.angads25.toggle.widget.LabeledSwitch
-
Changes text label when switch is in on state.
- setOn(boolean) - Method in class com.github.angads25.toggle.model.ToggleableView
-
Changes the boolean state of this Switch.
- setOn(boolean) - Method in class com.github.angads25.toggle.widget.DayNightSwitch
-
Changes the boolean state of this Switch.
- setOn(boolean) - Method in class com.github.angads25.toggle.widget.LabeledSwitch
-
Changes the boolean state of this Switch.
- setOnToggledListener(OnToggledListener) - Method in class com.github.angads25.toggle.model.ToggleableView
-
Register a callback to be invoked when the boolean state of switch is changed.
- setTextSize(int) - Method in class com.github.angads25.toggle.widget.LabeledSwitch
-
Changes the text size for Switch on/off label.
- setTypeface(Typeface) - Method in class com.github.angads25.toggle.widget.LabeledSwitch
-
Changes the typeface for Switch on/off labels.