我有一段代码扩展了 ColorDrawable 并用 Color.Black 调用了 super。有没有替代方法可以使用我的drawables目录中的drawable?
//Want to Have a drawable/res instead of just a plain Color type ?
static class DownloadedDrawable extends ColorDrawable {
public DownloadedDrawable(Color color) {
super(color);
}
// Other code,
}
亲切的问候,