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
Drawable clone = drawable.mutate().getConstantState().newDrawable().mutate();
in case getConstantState() returns null.
getConstantState()
null