robolectric/robolectric — pull request #636 by thorikawa (2013-08-01 05:27:56+00:00)
Title: Fix the issue of Resouces.getXml(int)

Fix the issue that `Resources.getXml(int)` does not support resource ids other than xml resources. According to original (Android SDK's) implementation, it should support not only xml resources, but also other resources whose file types are xml - e.g. layout, menu, drawable, anim and color. Test cases have been added accordingly.