Skip to content

Stop using boring standard progess bar...use progress images! 🖼️

License

Notifications You must be signed in to change notification settings

alamen-pgooja/ImageProgressView

 
 

Repository files navigation

Android Arsenal API

ImageProgressView

Stop using boring standard progress bar...use images!

Example

Installing

Add this to your build.gradle file

implementation 'com.github.appersiano:imageprogressview:-SNAPSHOT'

Usage

Inside your layout.xml

<com.appersiano.progressimage.ProgressImage
       android:id="@+id/vlImage"
       android:layout_width="0dp"
       app:imageShadowColor="#FF0000"
       app:srcImage="@drawable/tree"
       android:layout_height="200dp"
       android:layout_marginBottom="8dp"
       app:layout_constraintBottom_toBottomOf="parent"
       app:layout_constraintEnd_toEndOf="parent"
       app:layout_constraintStart_toStartOf="parent"
       android:layout_marginTop="8dp"
       app:layout_constraintTop_toBottomOf="@+id/btnAnimate"/>

and in your Activity/Fragment

btnAnimate.setOnClickListener {
            vlImage.setProgress(tvValue.text.toString().toInt(), true)
        }

Contribute

Feel free to fork and add other functionalities! Don't forget to make a pull request!

Author

About

Stop using boring standard progess bar...use progress images! 🖼️

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Kotlin 78.8%
  • Java 21.2%