阅读背景:

Android - 如何以编程方式定义ShapeDrawables?

来源:互联网 

What I'm trying to achieve is to use a Drawable with a couple of layers inside it, but control some values at runtime such as the startColor for the gradient. Here's what I have in my_layered_shape.xml:What I'm trying to achieve is to use a Drawable




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: