Skip to content

StevenDXC/DxLoadingView

Repository files navigation

DxLoadingView

Android loading view

image

#Useage

layout:

 <com.dx.dxloadingview.DxLoadingView
        android:id="@+id/loading_view"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center"
        app:loadingColor="@color/colorPrimary"
        app:animationDuration="2400"
        app:loadingViewSize="large"
        />

animationDuration: duration of animation play once

#start animation:

DxLoadingView loadingView = (DxLoadingView) findViewById(R.id.loading_view);
loadingView.startAnimation();

#cancel animation:

loadingView.cancelAnimation();



idea from:https://www.uplabs.com/posts/liquid-motion-marketing

About

Android Loading view

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages