Fixed switch statement for static resources given Android's new compilation rules with v 17