title: Embedding a sized ListView in activity - android
body: <p>I am looking at this tutorial: <a href="http://developer.android.com/resources/tutorials/views/hello-listview.html" rel="nofollow">http://developer.android.com/resources/tutorials/views/hello-listview.html</a></p>
  
  <p>Is it possible to embed the list in my current activity so I can set its height. My layout looks like this:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:orientation="vertical"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      android:background="@drawable/mobile_vforum_bg"
      &gt;
      &lt;ImageView 
          android:src="@drawable/mobile_vforum" 
          android:layout_height="wrap_content" 
          android:layout_width="wrap_content" 
          android:id="@+id/logo"
          android:layout_marginLeft="57px"
          android:layout_marginTop="10px"&gt;
      &lt;/ImageView&gt;
      &lt;TextView 
          android:layout_height="30px"
          android:layout_width="fill_parent"
          android:id="@+id/welcomeText"
          android:textSize="16px"
          android:textColor="#317c73"
          android:background="#eeeeee"
          android:shadowColor="#333333"
          android:shadowDx="1"
          android:shadowDy="1"
          android:paddingTop="4px"
          android:paddingLeft="7px"&gt;
      &lt;/TextView&gt;
      &lt;ListView 
          android:layout_height="wrap_content"  
          android:layout_width="match_parent"
          android:id="@+id/projectList"&gt;
      &lt;/ListView&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>You can see my ListView at the end of the layout. Basically I have an image and line of text and I want the list to reside below that. The tutorial link I posted extends ListActivity which is where I get confused since I am in my current layouts java file that extends Activity. Any help or suggestions is appreciated. Thanks.</p>