I\'m not using the XML file to set the state of the ripple drawable instead I\'m using the java new RippleDrawable(color, backgroundDrawable, null) constructor
new RippleDrawable(color, backgroundDrawable, null)