This repository was archived by the owner on Mar 8, 2024. It is now read-only.

Description
I need different color for switch off state but it shows same
ON

OFF

CODE
<com.github.angads25.toggle.widget.LabeledSwitch
android:id="@+id/switch8"
android:layout_width="60dp"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_centerInParent="true"
android:layout_marginRight="5dp"
android:textSize="8sp"
app:colorBorder="@android:color/holo_red_dark"
app:colorOn="@android:color/holo_green_dark"
app:on="false"
app:textOff="OFF"
app:textOn="ON" />
I need RED for OFF and GREEN for ON.
Is that possible ?