I\'m trying to make a general framework function that makes any Drawable become highlighted when pressed/focused/selected/etc.
My function takes a D
This is what works for me.
Drawable clone = drawable.getConstantState().newDrawable().mutate();