is there a way to have 2 gradients in a drawable xml using either a <layer-list>
or <shape>
or some combination of them?
views:
111answers:
1
A:
I don't see why not... a layer list drawable that references two shape drawables sounds like it would work. Have you tried that?
Roman Nurik
2010-08-03 04:13:49
yeah i did, it works except for one thing: there's no way to make the gradients go from 0-50% and 50% - 100% of the drawable. they only allow for absolute values.... which sucks.
Ben
2010-08-06 15:09:11
Ah, I'd update the original question to be something like "how do I create gradients that have intermediate color steps." That sounds a little more clear than the original question :)
Roman Nurik
2010-08-06 16:49:32