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:
> <TextView id="@+id/nameTextbox"/>, and refer to it this way in Java:
> findViewById(R.id.nameTextbox)
> -- end quote --
> 
> The above example is WRONG.  It should be this way --  <TextView
> android:id="@+id/nameTextbox"/>

Way back in the spring of 2008, you did not need the android: prefix on
android:id. They changed that, but apparently missed this reference in
the documentation. Most of the documentation is correct, AFAICT.

You may wish to post this to http://b.android.com if it is not already
there.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android Training in Germany, 18-22 January 2010: http://bignerdranch.com

--~--~---------~--~----~------------~-------~--~----~
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
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to