Kostya, I know textview is also clickable. we can draw boundary its a
new thing for me.
but is there any reason to not to use button.
will I be able achive changing image of selection.

On Feb 17, 8:54 pm, Kostya Vasilyev <kmans...@gmail.com> 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to