04-27-2009 10:53 PM
I am trying to follow App World-type gradient background (albeit with different colors): dark top corners, lighter bottom corners, and even lighter center point on the bottom border.
During development, we use 4.2 SDK.
We are trying to achieve that with drawShadedFilledPath method.
I've tried several variations of invoking the drawShadedFilledPath with a single path (offsets is null), and as multiple paths, and there are two problems:
1. The specifying bottom center point has no effect (its color does not participate in the gradient fill)
2. Giving up on the center point, when close colors are used in the top and bottom, the gradient is very uneven, with multiple horizontal strips.
Am I missing something?
I am ready to give up and create pngs of the gradient for all screen resolutions in Photoshop.
I would greatly appreciate any clues and tips.