title: How to implement a fix bar layout in android
body: <p>I want to create a layout like this:</p>
  
  <p><img src="https://i.stack.imgur.com/s5kcD.png" alt="enter image description here"></p>
  
  <p>I think the <code>ScrollView</code> is necessary, maybe like this:</p>
  
  <pre><code>&lt;RelativeLayout&gt;
      &lt;RelativeLayout id="fixed"&gt;
      &lt;/RelativeLayout&gt;
      &lt;ScrollView&gt;
          &lt;RelativeLayout&gt;
              &lt;Button...
              &lt;ListView....
              &lt;Button...
              &lt;/RelatievLayout&gt;
      &lt;/ScrollView&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>But it seems that add a <code>ListView</code> inside a <code>ScrollView</code> is not good idea.</p>
  
  <p>Any idea to make it?</p>
  
  <p>BTW, there are not only <code>Button1</code> and <code>Button2</code> outside the listview, there are more views, so I do not think add the views as foot or head is a good idea.</p>