This Custom Progress Dialog is inspired from Swipe Refresh Layout's Prgressbar
If you want to use in your project then use following instructions
Add following lines to your project level build.gradle file
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
And add following line as dependencies of your app level build.gradele file.
dependencies {
compile 'com.github.matrixdevz:SRPrgressDialog:v1.0.1'
}