Yahel wrote:
> Could you elaborate on the :
> "You can try to see if you can get the default namespace to work
> (xmlns="http://...";) reliably".
> 
> If I only need to add a android: in front of id and not every where
> else, that's absolutely perfect.

You can't have android:id without declaring xmlns:android="..." -- an
undefined prefix means the file isn't a well-formed XML document IIRC.
And once you do that, you will need android: prefixes on everything else.

And, AFAIK, you can't have two prefixes bound to the same name (e.g.,
have xmlns="..." and xmlns:android="...").

You will have to experiment to see what works for you.

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

Android App Developer Books: http://commonsware.com/books

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

Reply via email to