Change resource to bitmap for compatibility