how to make running activity disable while progress bar running in java android
<p>i have an activity or screen which contains mainly 3 views (ex.textview1,textview2,textview3) and a progress bar.</p>

<p>While progress bar running or loading if i click on either of textview1,textview2,textview3,
corresponding next activity or screen is opening.</p>

<p>But i want like while progress bar running relevant screen should disable(not tappable) or should not move to next screen if i click on any of these views.  </p>

<p>please reply with an example</p>
