Code example for ProgressDialog

Methods: setIndeterminatesetMessage, setOnKeyListener