title: my listview doesn't fill parent
body: <blockquote>
    <p>
  
  <pre><code>&lt;RelativeLayout 
      android:layout_width="fill_parent" 
      android:layout_height="fill_parent"
  
      &lt;TextView 
          android:id="@+id/tv_test"
          android:text="Test "
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
      /&gt;
      &lt;ListView 
          android:id="@+id/list_test"
          android:layout_width="fill_parent"
          android:layout_height="fill_parent"
          android:layout_below="@id/tv_test"
  
    &gt;&lt;/ListView&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>
    
    <p></p>
  </blockquote>
  
  <p>And everything is in a ScrollView, i don't know why but the relative layout seems to set a wrap content. And it makes the ListView small and not taking the whole place.</p>
  
  <p>I don't know if it's useful but here's my java code :</p>
  
  <pre><code>public class ShowView extends Activity{
  ListView lv;
  ArrayAdapter&lt;String&gt; adapter;
  String[] myList = {"One", "Two", "Three", "Four", "Five", "Six", "Seven", "Height", "Nine", "Ten"};
  @Override
  protected void onCreate(Bundle savedInstanceState) {
      // TODO Auto-generated method stub
      super.onCreate(savedInstanceState);
      setContentView(R.layout.show);
      lv = (ListView) findViewById(R.id.list_test);
      adapter = new ArrayAdapter&lt;String&gt;(getApplicationContext(), android.R.layout.simple_list_item_1, myList);
      adapter.setDropDownViewResource(android.R.layout.simple_list_item_1);
      lv.setAdapter(adapter);
  
  }
  }
  </code></pre>