(I changed the question a bit, because the problem is a bit clearer now)
I have 4 buttons on my application, and when a user clickes certain button I change that but
You just need to mutate each drawable before setColorFilter.
Drawable d = findViewById(R.id.ans2).getBackground(); d = d.mutate(); d.setColorFilter