sstrenn wrote:
> Is there any plan to eliminate the requirement to add the "android:"
> namespace to attributes in layout files?

There is no requirement to add the "android:" namespace to attributes in
layout files.

There *is* a requirement to add the
"http://schemas.android.com/apk/res/android"; namespace to your file and
use its associated prefix with attributes in layout files.

> And instead of adding value,
> they make the files VERY DIFFICULT TO READ AND EDIT.

This is your opinion.

> Is there any relief in sight?

Step #1: Open up a layout file in your favorite IDE or text editor

Step #2: Change the xmlns:android namespace declaration to use whatever
prefix you want, such as xmlns:a

Step #3: Change all occurrences of android: in that file to your
preferred prefix (e.g,. a:)

Step #4: Lather, rinse, repeat for all layout files you wish to modify

You might consider learning about XML namespaces, rather than
complaining about things you are perfectly capable of resolving yourself:

http://en.wikipedia.org/wiki/Xml_namespace

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

_The Busy Coder's Guide to Android Development_ Version 3.0
Available!

-- 
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