title: How to show progress bar in actionbar, in place of other actionbar item
body: <p>What I want to implement is I have a refresh button in actionbar, when I press this refresh button to refresh feed, I want a progress bar (circle) in place of refresh button.</p>
  
  <p>I am able to implement this <br>
  <img src="https://i.stack.imgur.com/SRSGm.jpg" alt="enter image description here"></p>
  
  <p>using:</p>
  
  <pre><code>requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS);
  setProgressBarIndeterminateVisibility(true);
  setProgressBarIndeterminateVisibility(false);
  </code></pre>
  
  <p>but what I need is the <em>refresh button</em> replaced by progress circle.</p>