Code example for ProgressDialog

Methods: setIndeterminatesetMessagesetProgressStyle, setOnCancelListener, setTitle