Skip to content

smartrk/AndroidLoadingButton

Repository files navigation

ezgif com-gif-maker (1)

Android Animated Progress Button

Animated Progress Loding Button with multiple functionality.

  • Loading Animation
  • Error Animation
  • Success Animation

Features

  • Custom Button Drawable

  • Custom Button Color

  • Custom Progress Color

  • Custom Success Icon

  • Custom Error Icon

  • Custom Button Success Color

  • Custom Button Error Color

  • Change Text Color

  • Custom Font Style

  • No Additional Code Required

  • Fully Customizable

  • Easy to Implement

Code Sample

  • Xml
 <com.rk.progressbutton.RkProgressButton
       android:id="@+id/progress_button"
       android:layout_width="match_parent"
       android:layout_height="wrap_content"
       app:buttonErrorText="Retry"
       app:buttonText="Login"
       app:buttonDrawable="@drawable/btn_bg"
       app:buttonColor="@color/blue"
       app:buttonErrorColor="@color/red"
       app:buttonSucessColor="@color/green"
       app:progressColor="@color/white"
       app:doneColor="@color/black"
       app:textColor="@color/white" />
  • Start Progress Animation
progressButton.progressAnimation()
  • Success Animation
progressButton.doneAnimation()
  • Error Animation
progressButton.errorAnimation()
  • Stop Animation
progressButton.stopAnimation()

Gradle dependency

dependencies { 
        implementation 'com.github.smartrk:ProgressButton:1.4' 
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages