Hi group members,

I have a question about setting the background color for buttons.
When I am using btn.setBackgroundColor(Color.RED), the entire button
turns into a red rectangle.

Is there actually a workaround to achieve this?

Also what can I do to revert back to the default color of the button
(the typical plain greysh background).

Thanks,

Nicholas

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