Code example for ProgressDialog

Methods: setMaxsetMessagesetProgressStyle, setCancelable