Kostya, I know that textbox could be clicked, I wasn't aware that we could give boundary to the textView. Will it be useful in my case to change the image if it has been clicked.
On Feb 17, 8:54 pm, Kostya Vasilyev <[email protected]> wrote: > Buttons are not the only widgets that can respond to clicks and can use > a state drawable. > > A TextView would work too, and it's probably easer to make it look right > (look up TextView.setCompoundDrawablesWithIntrinsicBounds). > > -- Kostya > > 17.02.2011 18:42, cool.manish пишет: > > > 2. I have used a grid view in which every cell is a button. I want to > > change the image on click of a button. I try to use same state as > > mentioned in your reply. but it has not worked. > > > I was creating a calendar and to display dates and displaying events > > on a particular day on click of a day. i have used buttons. should i > > use some other view. Image view or image button? or something else? > > Will i be able to show display image for the clicked one. > > -- > Kostya Vasilyev --http://kmansoft.wordpress.com -- 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

