On Wed, Mar 16, 2011 at 1:26 AM, joebowbeer <[email protected]> wrote:
> What has been fixed and tested?
>
> Issue 9656?
>
> http://code.google.com/p/android/issues/detail?id=9656
>
> Is it now possible to declare a custom attribute in a library project
> and reuse it in multiple apps?

This has worked for many months, at least since September. For example:

https://github.com/commonsguy/cwac-colormixer

> If so, what xmlns does one use when declaring this attribute?  The
> namespace of the library, or what?

The namespace of the hosting application:

xmlns:parcel="http://schemas.android.com/apk/res/com.commonsware.cwac.colormixer.demo";

(for an application in com.commonsware.cwac.colormixer.demo reusing a library)

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

_The Busy Coder's Guide to Android Development_ Version 3.5 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