I am trying to write an Android code to create three states for an Android Switch. Three state means ON - Default - OFF.
When I will open my app , the Switch will be in default mode and the button will be in centre. When I will drag the switch into left side then the state will change to ON and when I will drag to right side then the state will change to OFF.
In Android Switch , we have two state ON/OFF. I am not able to find any technique to add third state into the switch.
How can I add the third state in Android Switch?