When the height was set android:layout_height="fill_parent"
in
<TextView
android:id="@+id/header_message"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:text="@string/main_no_items"/>
it pushed the layout
<ListView
android:id="@+id/android:list"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
/>
off the screen. Since the ListView was not visible android knew it would not be able to draw it on the screen so getView() method was never called to render the objects.
|