title: Android web views inside horizontal scroll view stretching
body: <p>I have a detail view with horizontal scrollview and I insert some web view to this horizontal scrollview. </p>
  
  <p>Here is the xml code:</p>
  
  <pre><code>&lt;HorizontalScrollView
          android:id="@+id/horizontal"
          android:layout_below="@+id/linearLayout2"
          android:layout_width="fill_parent"
          android:layout_height="fill_parent"&gt;
  
          &lt;LinearLayout
              android:id="@+id/linear"
              android:layout_width="wrap_content"
              android:layout_height="fill_parent"
              android:orientation="horizontal"/&gt;
  
  &lt;/HorizontalScrollView&gt;
  </code></pre>
  
  <p>And here is code where I put web view to this horizontal scroll view:</p>
  
  <pre><code>HorizontalScrollView scroll = (HorizontalScrollView)findViewById(R.id.horizontal);
  
          LinearLayout linear = (LinearLayout)findViewById(R.id.linear);
  
          SearchJobDetailWebView test1 = new SearchJobDetailWebView(this, middleData.get(0).getExportUrl());
          linear.addView(test1.setWebView());
  
          SearchJobDetailWebView test2 = new SearchJobDetailWebView(this, middleData.get(0).getExportUrl());
          linear.addView(test2.setWebView());
  
          SearchJobDetailWebView test3 = new SearchJobDetailWebView(this, middleData.get(0).getExportUrl());
          linear.addView(test3.setWebView());
  </code></pre>
  
  <p>Problem is that web views are stretched in horizontal scrollview. (Webview width is a half part of display). What is wrong ?
  thanks a lot</p>