title: Android Web View Get Stretched On Layout Width Change
body: <p>I am having hard time while rendering webview inside my native app, i have pasted some screen shots below which shows how webview is behaving every time width is getting changed.</p>
  
  <p>Also i am using drawer menu which makes webview move towards right everytime i open menu drawer</p>
  
  <p>SCREEN SHOT WHEN WEBVIEW IS LOADED </p>
  
  <p><img src="https://i.stack.imgur.com/qakAh.jpg" alt="enter image description here"></p>
  
  <p>Till now it seems to be fine but now when i open and close the drawer menu it does not change it's width back to 100% and remains at 50%</p>
  
  <p>AFTER OPENING AND CLOSING DRAWER MENU</p>
  
  <p><img src="https://i.stack.imgur.com/LFwl1.jpg" alt="enter image description here"></p>
  
  <p>It also blurs the webview when i open the drawer menu</p>
  
  <p>SCREEN SHOT WHEN DRAWER MENU IS OPEN</p>
  
  <p><img src="https://i.stack.imgur.com/shcP6.jpg" alt="enter image description here"></p>
  
  <p>I have also tried some different settings of webview but none of them worked, also here goes my webview java code</p>
  
  <p>JAVA CODE</p>
  
  <pre><code>                 mWebView = (WebView) findViewById( R.id.webView1 );
               mWebView.getSettings().setJavaScriptEnabled(true);  
               mWebView.getSettings().setSupportZoom(false);
               mWebView.getSettings().setBuiltInZoomControls(false);
               // Load URL
               mWebView.loadUrl(requestUrl);
  </code></pre>