title: Android layout textview and listview combined
body: <p>I am trying to layout a home automation app. The top part of the screen will be custom status text (Garage door is OPEN, System is DISARMED, etc). Under the status text there will be a refresh link/button/list item. Something that the user can click on to refresh the status text. At the bottom will be a listview that will be links to other pages and links to actions such as "Security Page", or "Close Garage Door", etc. My question is, how do I configure the layout? I have tried several LinearLayouts, RelativeLayouts, nested layouts, etc, and none have worked so far.
  Here is my main.xml as of now:</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"&gt;
      &lt;LinearLayout        
          android:layout_height="wrap_content" 
          android:layout_width="wrap_content" &gt;
          &lt;TextView 
              android:layout_width="wrap_content" 
              android:layout_height="wrap_content" 
              android:id="@+id/statustext"&gt;
          &lt;/TextView&gt;
      &lt;/LinearLayout&gt;
      &lt;LinearLayout 
          android:layout_height="wrap_content" 
          android:layout_width="wrap_content" &gt;
          &lt;TextView 
              android:layout_width="fill_parent" 
              android:layout_height="wrap_content"
              android:id="@+id/refresh"&gt;
          &lt;/TextView&gt;
      &lt;/LinearLayout&gt;
      &lt;LinearLayout 
          android:orientation="vertical" 
          android:gravity="center_horizontal" 
          android:layout_height="fill_parent" 
          android:layout_width="fill_parent"&gt;
          &lt;ListView 
              android:layout_width="fill_parent" 
              android:id="@android:id/list" 
              android:layout_height="wrap_content"&gt;
          &lt;/ListView&gt;
      &lt;/LinearLayout&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>The refresh link could just be an item of the listview, but I would like to style it differently so it stands out, such as a different color font or background. Or it could be a button. But it needs to be between the statustext and itemlist. And everything should scroll as one unit.</p>
  
  <p>Is this possible?
  <img src="https://i.stack.imgur.com/xSnPZ.png" alt="My Layout"></p>