Wednesday, January 19, 2011

[android-developers] change color of Button

Hi, everybody
I want to change color of button. Now I am done this with

button.getBackground().setColorFilter(new
LightingColorFilter(0xFF9933, 0x0CC000));

But is it possible to 1)change button color like - At the left top
corner have dark color and color become faint as we move to the right
bottom corner.

2) Can we change the color of border of button?

Thanks

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate