title: ProgressBar under Action Bar
body: <p><strong>Question Summary:</strong> How can I make a <code>ProgressBar</code> integrated inside the <code>ActionBar</code>, like on the Chrome App?</p>
  
  <p><strong>Details:</strong> Look at this screenshot from Chrome:</p>
  
  <p><img src="https://i.stack.imgur.com/tbLknl.png" alt="Chrome for Android screenshot"></p>
  
  <p>I want to create an Action Bar just like this. Just under the Action Bar, there's a ProgressBar that fills according to page load. I've seen this example from many apps, like Feedly, but I haven't been able to create my own implementation.  I tried using Android's own APIs to create it:</p>
  
  <pre><code>@Override
  protected void onCreate(Bundle savedInstanceState) {
      //Request Permission to display the Progress Bar...
      this.requestWindowFeature(Window.FEATURE_PROGRESS);
              this.setWindowContentView(R.layout.activity_main)
      super.onCreate(savedInstanceState);
  
      this.setProgressBarIndeterminate(true);
  }
  </code></pre>
  
  <p>But this code only causes the ProgressBar to show <strong>over</strong> the Action Bar, like so:</p>
  
  <p><img src="https://i.stack.imgur.com/Z5l6wl.png" alt="My App Screenshot"></p>
  
  <p>So, how can I make my ProgressBar appear under the Action Bar, like on the Chrome App?</p>