Welcome to the Java Programming Forums.
What is the issue with the code you posted? Does it produce errors? Please be as descriptive as possible.
Drawable drawable = new Drawable(Color.GREEN);
You are creating two instances of Drawable , one with default color and other with no colorQuote:
thats why its not showing effect , you are looking.
use object of drawable you had created earlier.Quote: