ResName constructor should trim() the attribute value passed in.

Badly formatted XML such as

      <item name="subtitleTextStyle">@style/TextAppearance.AppCompat.Widget.ActionMode.Subtitle
        </item>

Note the wrapped text content causes the actual string passed in to be followed with a CR and whitespace.

Real android handles this formatting fine, so should Robolectric