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
Try the following:
Drawable clone = drawable.getConstantState().newDrawable();