Multi-gradient shapes

I don’t think you can do this in XML (at least not in Android), but I’ve found a good solution posted here that looks like it’d be a great help! ShapeDrawable.ShaderFactory sf = new ShapeDrawable.ShaderFactory() { @Override public Shader resize(int width, int height) { LinearGradient lg = new LinearGradient(0, 0, width, height, new int[]{Color.GREEN, Color.GREEN, … Read more