title: android XML scrollview and linear layout problem
body: <p><br>
  I have the following code:</p>
  
  
  
  <pre><code>&lt;ScrollView
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"&gt;
      &lt;LinearLayout android:orientation="vertical" 
                    android:layout_width="fill_parent" 
                    android:layout_height="fill_parent"&gt;
  
          &lt;ImageView android:src="@drawable/ducks_r2_c1"
                       android:layout_width="fill_parent"
                       android:layout_height="wrap_content" /&gt;
          &lt;ImageView android:src="@drawable/ducks_r3_c1"
                       android:layout_width="fill_parent"
                       android:layout_height="wrap_content" android:clickable="true"/&gt;
          &lt;ImageView android:src="@drawable/ducks_r4_c1"
                       android:layout_width="fill_parent"
                       android:layout_height="wrap_content" android:clickable="true"/&gt;
          &lt;ImageView android:src="@drawable/ducks_r5_c1"
                       android:layout_width="fill_parent"
                       android:layout_height="wrap_content" android:clickable="true"/&gt;
          &lt;ImageView android:src="@drawable/ducks_r6_c1"
                       android:layout_width="fill_parent"
                       android:layout_height="wrap_content" android:clickable="true"/&gt;
  
      &lt;/LinearLayout&gt;
  
  &lt;/ScrollView&gt;
  </code></pre>
  
  <p>I have used layout_width="fill_parent" everywhere. But this is the screenshot of how it shows up on the emulator. <br>
  <img src="https://i.stack.imgur.com/kfNIz.png" alt="enter image description here">
  <br>
  I dont want the space on either side of the images. <br>
  Why is it showing up like this? How can I rectify it?<br>Thank you</p>