pedant/sweet-alert-dialog — pull request #18 by croccio (2014-12-03 17:51:30+00:00)
Title: Added progress dialog

To show progress dialog do:

new SweetAlertDialog(this, SweetAlertDialog.PROGRESS_TYPE)
.setContentText("Loading... For ten seconds than close. Every second change color.")
.spin()
.show;

You can customize handle and customize progress bar dynamically with this methods:
isSpinning()
resetCount()
stopSpinning()
spin()
setProgress(float progress)
setInstantProgress(float progress)
getProgress()getCircleRadius()
setCircleRadius(int circleRadius)
getBarWidth() setBarWidth(int barWidth)getBarColor()
setBarColor(int barColor)
getRimColor()
setRimColor(int rimColor)
getSpinSpeed()
setSpinSpeed(float spinSpeed)
setRimWidth(int rimWidth)
setProgressMessageColor(int color)