Skip to content

A simple UI compound view with a nice Overlay effect to darken the background while showing a loader.

License

Notifications You must be signed in to change notification settings

Levi-Moreira/OverlayProgressBar

Repository files navigation

OverlayProgressBar

This library provides a simple overlay effect alongside a progress bar that can be added to xmls as a means of hiding the background content whilst showing the progress bar.

Alt Text

Gradle

dependencies {
    ...
    implementation 'com.levimoreira.overlayprogressbar:overlay-progressbar:0.1.0'
}

The usage is very simple, we've provided some attributes that can be changed directly in the xml.

    <com.levimoreira.overlayprogressbar.OverlayProgressBar
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        app:indeterminateHeight="200dp"
        app:indeterminatePadding="50dp"
        app:indeterminateTint="#fffb00"
        app:indeterminateWidth="200dp"
        app:overlayBackgroundColor="#64000000" />

About

A simple UI compound view with a nice Overlay effect to darken the background while showing a loader.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published