Gradients and shadows on buttons
问题 Is it possible to programatically, or via xml configuration (and not via 9patch png), to achieve the effects as seen on Springpad widget: If you look closely, there's a sharp border/line between the upper (brighter) and lower (darker) gradients. Also, there are inner and outer shadows for that embossed area on the right. I know how to set gradient background on a button, but that gradient is constant, without that sharp line in the middle. Also, I couldn't find any reference on shadow