Code example for ProgressDialog

Methods: setTitlesetIndeterminate, setCancelable, setCanceledOnTouchOutside, setOnKeyListener