Hello all,

I have a GridView with a BaseAdapter that cycles through the elements
making views for each element or cell in the grid.

What I would like to do is create a clickable image/button, and when
the user clicks or touches it, for it to remain clicked and
highlighted so that they make click on several if they so choose.

I have tried, ImageButtons, Buttons, ImageViews, LayerDrawables(with a
swapable background color drawable), ToggleButtons, CheckBoxes,
derived my own CompoundButton, but nothing seems to work.

I was a teeny bit successful with a ImageButton where I could create
it selected, but if the user clicked on it, I couldn't get that visual
state back.

Any help is appreciated.  I can post code if you like.

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