title: Delete margins in webView
body: <p>I have a problem with webView. As you can see on the picture there are white margins. I want to fill my screen that picture. How I can do that?
  This is picture:
  <img src="https://i.stack.imgur.com/G5ptL.png" alt="enter image description here"></p>
  
  <p>this is code:</p>
  
  <pre><code>    WebView web = new WebView(getContext());
  web.getSettings().setJavaScriptEnabled(true);
  web.getSettings().setBuiltInZoomControls(true);
  
  String imagePath = id;
  String html = "&lt;html&gt;&lt;body&gt;&lt;img src=\""+ imagePath + "\"&gt;&lt;/body&gt;&lt;/html&gt;";
  web.loadDataWithBaseURL("file:///mnt/sdcard/DinEgen/", html, "text/html","utf-8",null);
  web.setPadding(0, 0, 0, 0);
  
  web.setInitialScale(1);
  web.getSettings().setJavaScriptEnabled(true);
  web.getSettings().setLoadWithOverviewMode(true);
  web.getSettings().setUseWideViewPort(true);
  web.setScrollBarStyle(WebView.SCROLLBARS_OUTSIDE_OVERLAY);
  web.setScrollbarFadingEnabled(false);
  </code></pre>
  
  <p>XML file:</p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:orientation="vertical" 
      android:weightSum="100"&gt;
  
          &lt;android.support.v4.view.ViewPager
          android:id="@+id/presentation_viewPager"
          android:layout_width="match_parent"
          android:layout_height="0dp" 
          android:layout_weight="95"
  
          /&gt;
      &lt;LinearLayout
          android:id="@+id/presentation_indicatorLayout"
          android:layout_width="match_parent"
          android:layout_height="0dp" 
          android:layout_weight="5"
          android:gravity="center"
          android:background="@drawable/choose_small_normal"
          &gt;
      &lt;/LinearLayout&gt;
  &lt;/LinearLayout&gt;
  </code></pre>