Wednesday, March 16, 2011

[android-developers] Re: custom attributes in library projects

Issue 9656 says it's not possible to have custom attributes declared &
used in library projects. This is fixed on SDK 11.

About using an attribute that is declared in a library projet in
multiple applications, I can't answer. Have you tried? What happens
when you do it?

On Mar 16, 6:26 am, joebowbeer <joe.bowb...@gmail.com> 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?
>
> If so, what xmlns does one use when declaring this attribute?  The
> namespace of the library, or what?
>
> Thanks in advance.
>
> Joe
>
> On Mar 9, 3:48 am, "C. Plantier" <clemplant...@gmail.com> wrote:
>
>
>
>
>
>
>
> > This has been fixed (tested with latest SDK tools 10, platform API
> > 11).
>
> > On Feb 24, 12:41 pm, Romain <choicesm...@gmail.com> wrote:
>
> > > Hi,
>
> > > Any chance this has been fixed - or a workaround is available?
>
> > > Library projects seem to be the best approach to release multiple versions
> > > of an app (ex: free/paid),
> > > and I was really hoping there is a better solution than to duplicate all of
> > > my custom layouts in both apps.
>
> > > Many thanks,
>
> > > Romain

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment