Simple Slide to Unlock Button
You can just copy right away the required files (it's only 1 class!)
In your project build.gradle
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
In your module build.gradle
dependencies {
implementation 'com.github.esafirm:android-stubutton:1.1.0'
}
<com.esafirm.stubutton.StuButton
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:stu_label="No Money"
app:stu_thumbDrawable="@drawable/circle_material"
app:stu_background="@android:color/black"/>
Complete example is in the sample
Esa Firman @ MIT