I think your code should read @android:id/android:list, you left out
the android: in front of list

On Apr 11, 6:55 am, aibtus <[EMAIL PROTECTED]> wrote:
> This too does not work.  I still get a "Your Content must have a
> ListView whose id attribute is 'android.R.id.list' " How do we go
> around this problem?
>
> <CODE>
> <ListView
>                 android.id="@android:id/list"
>                 android:layout_width="fill_parent"
>                 android:layout_height="fill_parent"
>                 android:layout_weight="1" yout_width="fill_parent"
>                 android:drawSelectorOnTop="false"/>
> </CODE>
>
> On Feb 21, 1:27 am, trickybit <[EMAIL PROTECTED]> wrote:
>
> > <ListView android:id="@android:id/list"
> > etc.
>
> > On Feb 20, 1:03 am, shubha <[EMAIL PROTECTED]> wrote:
>
> > > szeldon, even am facing the same problem even after changing to
> > > android:id.. can u pls suggest me..
> > > On Feb 14, 4:42 am, szeldon <[EMAIL PROTECTED]> wrote:
>
> > > > Oh, my mistake. Changing "id" to "android:id" is a solution.
>
> > > > On 14 Lut, 00:22, szeldon <[EMAIL PROTECTED]> wrote:
>
> > > > > I have the same problem but this answer does not solve all the
> > > > > problems.Errormentioned by CJ still exists after "android:id"
> > > > > change. Any ideas?
>
> > > > > On 13 Lut, 22:51, Steve918 <[EMAIL PROTECTED]> wrote:
>
> > > > > > you now need to put android:id instead of just id=, it's a namespace
> > > > > > issue that didn't exist before.
>
> > > > > > On Feb 13, 3:42 pm, CJ <[EMAIL PROTECTED]> wrote:
>
> > > > > > > Hi, guys
> > > > > > > What does it mean? My code was totally fine before this upgrade. 
> > > > > > > Right
> > > > > > > now, I cannot even start it.
> > > > > > > My activity has an ListView.
> > > > > > >     <ListView id="@id/android:list"
> > > > > > >               android:layout_width="fill_parent"
> > > > > > >               android:layout_height="fill_parent"
> > > > > > >               android:layout_weight="5"
> > > > > > >               android:drawSelectorOnTop="false"/>
>
> > > > > > > I don't understand what has gone wrong.
> > > > > > > Help please!!!
> > > > > > > Thanks- Hide quoted text -
>
> > > > - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to