[android-beginners] Re: findViewById bug or documentation problem

2009-09-14 Thread jotobjects
Thanks Xavier - Correcting the documentation mostly resolves it. But I was wondering also about the other question - Why does the build generate the R.id.foobarid value when the "android" prefix is missing? What is the purpose of the generated value if it can't be used with findViewById()? One

[android-beginners] Re: findViewById bug or documentation problem

2009-09-11 Thread Xavier Ducrohet
Looks like the page has some id attribute with the proper namespace prefix and some that are missing it. I've filed a bug internally to make sure this gets fixed. thanks! Xav On Fri, Sep 11, 2009 at 9:08 AM, Mark Murphy wrote: > > jotobjects wrote: >> ERROR IN DOCUMENTATION - see >> >>        

[android-beginners] Re: findViewById bug or documentation problem

2009-09-11 Thread Mark Murphy
jotobjects wrote: > ERROR IN DOCUMENTATION - see > > > http://developer.android.com/guide/topics/resources/available-resources.html > > --- quote -- > When declaring an ID value for an XML tag, use this syntax. Example: > , and refer to it this way in Java: > findViewById(R.id.nameTextbo