06-12-2012 01:41 PM
I need to be able to set a background to a manager and the background has to have the following properties:
2.Gradient colour - grey to white
3.Be able to have arbitary height because I don't have a fixed number of items I will show as the items are generated after a http call.
The BackgroundFactory class offers either to have a gradient colour without rounded edges, or if it has rounded edges it has to be with sharp corners.
Solved! Go to Solution.
06-13-2012 10:14 AM
06-13-2012 10:28 AM
Do you know if by any chance this could be modified to have gradient of 3 or more colours for instance grey-to-white-to-grey?
Use more points (add ones in the middle), use grey on top and bottom ones and while on the middle "line". The example is extremely well-written and explained in great detail, so modifying it should be easy.
At most you can have two halves of the background, the upper one with rounded corners on top and flat bottom, the lower one the other way around.