Code example for ProgressDialog

Methods: setIndeterminatesetProgressStyle, setOnCancelListener, show