title: Save WebView state on screen rotation
body: <p>I'm making my own browser and I need help. I'm trying to save the State of it. I've tried the following things, but not the solution I'm looking for.</p>
  <p>I've tried this:</p>
  <pre><code>&lt;activity android:name=&quot;.About&quot;
      android:configChanges=&quot;orientation|keyboard|screenSize&quot; /&gt;
  </code></pre>
  <p>but the problem is that the toolbar is not resized, so the title is to small and toolbar height is smallest (if I start in landscape and rotate to portrait) and the title is to big and the heigh bigger (if I start in portrait and rotate to landscape).</p>
  <p>The other things I've tried are</p>
  <pre><code>@Override
  public void onCreate(final Bundle savedInstanceState) {
     super.onCreate(savedInstanceState);
     setContentView(R.layout.blah);
     if (savedInstanceState != null)
        ((WebView)findViewById(R.id.webview)).restoreState(savedInstanceState.getBundle(&quot;webViewState&quot;);
  }
  
  @Override
  protected void onSaveInstanceState(Bundle outState) {
        super.onSaveInstanceState(outState);
        Bundle bundle = new Bundle();
        webView.saveState(bundle);
        outState.putBundle(&quot;webViewState&quot;, bundle);
  }
  </code></pre>
  <p>but WebView is not saved correctly.</p>
  <p>What can I do to save webview State when rotating and without having problems with toolbar size?</p>
  <p>Maybe it's better if I handle config changes and try to resize toolbar and text?</p>