Make the shadow disabling workaround an XML style. Doing it this way is more elegant than disabling it in-code.