I have a piece of code that extends ColorDrawable and calls the super with Color.Black. Is there an alternative where i can use a drawable from my drawables directory ?
//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,
}
Kind Regards,