How can we display progress icon in button
<p>I need to display progress icon in button so that user can interact other GUI elements while background task is processing.</p>

<p>I have searched in Android developer site and  found that we can use animated drawables but don't know how to use them. Please advise on the same.</p>
