Not directly, that's not how the standard widgets are supposed to work.  You
could easily make your own custom subclass of button, though, that had three
attributes for the three different drawables and created a state list
drawable itself from them.  Then you could have everything in your single
layout file.

On Sat, Jan 24, 2009 at 8:11 PM, Videoguy <[email protected]> wrote:

>
> Hi
> I have a layout file with 6 image buttons. Each button should show
> different source image based selection/focus/noselection. I am able to
> do this with 6 xml files under drawable folder with selector/item
> nodes.
>
> Is there a way to put all these selectior nodes in ONE xml file to
> accomplish the same. Less files means less management...
>
> Thanks for your help.
> Vidguy
> >
>


-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support.  All such questions should be posted on public
forums, where I and others can see and answer them.

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