How to make a double gradient with XML (iphone like)

前端 未结 2 1445
离开以前
离开以前 2021-01-31 05:50

How can I make this kind of drawable gradient with XML?

\"Double

I can do a simple gradie

2条回答
  •  梦谈多话
    2021-01-31 06:48

    You can have three colors in a gradient. A start color, end color and a center color.

    
    

    Alternatively you can use a LayerList Drawable and just piece them together.

提交回复
热议问题