Ok, this is a bit weird. When I use this with setContentView() of my
ListActivity I get a StackOverflowError!...

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/
android"
        android:layout_width="fill_parent"
android:layout_height="fill_parent">
        <ListView android:id="@id/android:list"
android:layout_width="fill_parent"
                android:layout_height="fill_parent" android:layout_weight="1"
                android:drawSelectorOnTop="false" />
</LinearLayout>

But when I use this, it shows me the list...

<ListView xmlns:android="http://schemas.android.com/apk/res/android";
                android:id="@id/android:list" android:layout_width="fill_parent"
                android:layout_height="fill_parent" android:layout_weight="1"
                android:drawSelectorOnTop="false" />

Problem is now is that I need a root node tag to add this extra
"android:empty" node as the documentation says. But if i do that I get
a stack overflow!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to