Seems that this is caused by the fact that ResType always returns a TypedResource\<String\> instance (see [ResType.getValueWithType(XmlNode)](https://github.com/robolectric/robolectric/blob/master/src/main/java/org/robolectric/res/ResType.java#L44))