> In your layout, you either need to change your top-level container to be
> a LinearLayout (so the ListView's layout_width and layout_height work)
> or you need to change the ListView to use the layout settings required
> for RelativeLayout.

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/
android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:orientation="vertical">

    <ListView  android:id="@+id/list1"
               android:layout_width="fill_parent"
               android:layout_height="fill_parent"
               android:background="#FFFFFF"
               android:layout_weight="1"
               android:drawSelectorOnTop="false"/>
</LinearLayout>

The error I get is:
begin1Package.Landroid/widget/LinearLayout;
:(
Sylvester

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to