 <p>Call <a href="http://developer.android.com/reference/android/app/Dialog.html#setCancelable%28boolean%29" rel="nofollow">setCancelable</a> using the false argument. Like this:</p> <pre><code> progressDialog.setCancelable(false); </code></pre>