Why does my ProgressDialog exit when I click on Activity?
<p>I am showing a ProgressDialog using the following code:</p>

<pre><code>void showProccess() {    
    p = new ProgressDialog(this);
    p.setTitle("PleaseWait");                   
    p.setMessage("data loading");
    p.show();
}
</code></pre>

<p>In Android 2.3.1 when a <code>ProgressDialog</code> is shown, I can't click on the <code>Activity</code>. But in Android 4.0.3, I click on <code>Activity</code> and the <code>ProgressDialog</code> will exit.
I want the <code>ProgressDialog</code> to not exit, the same as Android 2.3.1.
Can you help me? Thanks.</p>
