 <p>Take yout listview in one outer layout and fix the height of that layout like :</p> <pre><code>&lt;LinearLayout android:layout_height="100dp"&gt; &lt;ListView android:layout_height="fill_parent"&gt; &lt;/ListView&gt; &lt;/LinearLayout&gt; </code></pre>