robolectric/robolectric — pull request #685 by thorikawa (2013-09-17 05:06:08+00:00)
Title: Fix the issue that custom attribute value is used for android:xxx attribute

This should fix the issue reported in [Google Group] (https://groups.google.com/d/topic/robolectric/p-s0Qc8ZA-A/discussion).

The root cause of this issue is that when a custom attribute is defined with the same name as android namespace, but with different format, Robolectric mixes up them. For example, if custom attribute "typeface" is defined as string format which is originally defined as enum in android name space, it causes exception when android:typeface is accessed, because Robolectric tries to search string value of custom typeface attribute in android:typeface enum values.