Sliding Toggle Button on Android (2)

The sliding toggle button has been modernized. It has finally been migrated to the Gradle build system and it targets recent API levels now. It has also been added to jcenter, so you can simply add it to your module‘s build.gradle:

dependencies {
    compile 'de.nitri.pygmalion:slidingtoggleswitch:0.1'
}

https://github.com/Pygmalion69/SlidingToggleSwitch