Need diffrent color for OFF State in switch
Opened this issue · 2 comments
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 ?
is it possible to change that background white color if possible can you provide the library code so we can make a custom library
Hey, Library code is available in project repository. Sorry, I am not able to work on this issue at the moment. I will be open for any help you need from my side.