. In the onClick add this v.setBackgroundColor(Color.GREEN); then after that (still in the onClick) add something like - button1.setBackgroundColor(Color.GREY); button2.setBackgroundColor(Color.GREY); button3.setBackgroundColor(Color.GREY);
On Oct 20, 7:23 pm, Varun Khanduja <[email protected]> wrote: > Hello all, > > I m wondering if someone can help me with a situation. I have this > list view as shown in the picture below. > > http://www.flickr.com/photos/34403...@n02/5098102704/ > > Each button on the top has a list view corresponding to the above > field. I m trying to see how it is possible to show the default > selection as the user enters this particular screen. I m trying to > keep one of the button on the top to have a different color so the > user can know which of the tab views they have presently selected. > Thanks, > Varun -- 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

