Skip to content

Tap to do something, Hold to do another thing Button for android

Notifications You must be signed in to change notification settings

abdularis/TapHoldUpButton

Repository files navigation

TapHoldUpButton

Tap on it, Hold on it, it's easier to show you the preview.

Preview

Usage

Add repository

allprojects {
    repositories {
        ...
        maven {
            url 'https://jitpack.io'
        }
    }
}

Add dependency

dependencies {
    implementation 'com.github.abdularis:TapHoldUpButton:0.1.2'
}
<com.aar.tapholdupbutton.TapHoldUpButton
        android:layout_width="76dp"
        android:layout_height="76dp"
        app:thub_ringStrokeWidth="2dp"
        app:thub_ringColor="#DDDDDD"
        app:thub_circleColor="#DDDDDD"
        app:thub_circleGap="3dp"
        app:thub_circleColorOhHold="#FA1A1A"/>

About

Tap to do something, Hold to do another thing Button for android

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages