Hi, friends!!!
A very exigent client asked my to put a Gradient from sides to center on a layout full of buttons...
Does anyone can show me how to implement it?
I was looking for it and had no sucess.
Thanks in advance.
The GradientDrawable is missing Radial fill, where the fill is like a starburst radiating from the center. This will give buttons etc. more of a 3D effect. Other HTML products I've used will also let you specify the location of the center of the radial (and linear fills to). Example: at 10,10...
When creating a gradientdrawable by code you have to supply an array of colors, this array can hold any number of colors and the gradient will follow the order.