Putting Titles on a Android ListView generated from a database
<p>I am trying to put titles on a ListView that is generated from a database in android.</p>

<p>In the historyrow.xml</p>

<p>I have</p>

<pre><code>&lt;TextView
        android:id="@+id/historyTitle"
        android:layout_width="fill_parent"
        android:layout_height="20dip"
        android:text="Title"/&gt;
&lt;ListView 
        android:id="@+id/android:list"
        android:paddingTop="20dip"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"/&gt;
</code></pre>

<p>Which just displays the historyTitle text History. However, If I remove the TextView then the ListView displays correctly with a 20dip padding at the top where I would like the titles to be. Is there a way to get both displayed?</p>
