title: How to build a UI with a TextView on TOP and a ListView on BOTTOM?
body: <p>I check some examples on Internet, these examples just show how to single use <code>ListView</code>,it's boring.</p>
  
  <p>We Always need to build a complex UI,and now, I want to write a UI that with two <code>View</code>,one of them is <code>TextView</code> on TOP,and take up 30% space, and another one is a <code>ListView</code>, it take the rest of space,70%.</p>
  
  <p>If I just write like:</p>
  
  <pre><code>&lt;LinearLayout&gt;
  &lt;TextView
      android:layout_width="match_parent"
      android:layout_height="0dp"
      android:layout_weight="3"/&gt;
  &lt;ListView
      ....
      android:layout_weight="7"/&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>it doesn't work....</p>