title: Android: The progress bar in the window's title does not display
body: <p>I have a web view to override the built-in browser and I want to show a progress indicator on the title bar.</p>
  
  <p>This is the code:</p>
  
  <pre><code>    @Override
  public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      getWindow().requestFeature(Window.FEATURE_PROGRESS);
  
      setContentView(R.layout.browser);
      currentURL = BrowserActivity.this.getIntent().getExtras().getString("currentURL");
  
      try {
          mWebView = (WebView) findViewById(R.id.webview);
          mWebView.getSettings().setJavaScriptEnabled(true);
          mWebView.setWebViewClient(new browserActivityClient());
          setProgressBarIndeterminateVisibility(true);
          mWebView.loadUrl(currentURL);
          setProgressBarIndeterminateVisibility(false);
      } catch (Exception e) {
          Log.e(getClass().getSimpleName(), "Browser: " + e.getMessage());
          Toast.makeText(this, e.getMessage(), Toast.LENGTH_LONG).show();
      } 
  }
  </code></pre>
  
  <p>It should work, I think, according to Android docs and other samples I saw on the net. But it doesn't, could you please tell me where am I wrong?</p>
  
  <p>And another question: if sometimes later I'll choose to declare <code>android:theme="@android:style/Theme.NoTitleBar"</code> in the application manifest, will the progress bar show anymore or not?</p>
  
  <p>Thank you.</p>