Don't call setBackgroundColor(). It simply replaces the button's
background with a solid color. If you want to keep the button look but
give it a new set of colors, you will have to grab the original assets
from the source code and modify them in a graphics editing tool.
Alternatively you can play with ColorFilters.

On Wed, May 6, 2009 at 3:35 AM, Sukitha Udugamasooriya <suk...@gmail.com> wrote:
>
> HI,
>
> After clling button.setBackgroundColor(int color)... the 3D look of
> the button has gone... :(
> How can I mend this??
>
> Thanks in advance
> >
>



-- 
Romain Guy
Android framework engineer
romain...@android.com

Note: please don't send private questions to me, as I don't have time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them

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