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:
1.Rounded corners
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.
button to give kudos if I helped you Solved! Go to Solution.
06-12-2012 02:57 PM
Check out this thread:
E.
06-13-2012 10:14 AM
button to give kudos if I helped you 06-13-2012 10:28 AM
dx22 wrote:
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.
Good luck!