Hi Josh, I know you're working on 2.0 now.
But I found a bug (yes, pretty sure it's a bug) with version 1.3, it makes me annoyed.
When I set the value of trackLayoutMode is ToggleSwitch.TRACK_LAYOUT_MODE_ON_OFF, the toggle switch also have ONLY on track (!?), and it not have off track.
My code:
togglebtn = new ToggleSwitch();
togglebtn.trackLayoutMode = ToggleSwitch.TRACK_LAYOUT_MODE_ON_OFF;
togglebtn.customOnTrackName = "customOnTrackName";
togglebtn.customOffTrackName = "customOffTrackName";
My extended theme:
this.setInitializerForClass(Button, customOnTrackName, "customOnTrackName");
this.setInitializerForClass(Button, customOffTrackName, "customOffTrackName");
Would you please check about this issue?
And I have one more question, can I also change the thumb skin based on the state ON or OFF?